A static site which allows generating QR codes from URL link with a picture of Mia in the center. Shows the result on screen and allows downloading it in one of 4 formats: SVG, PNG, JPEG and WEBP.
The project is built on Vue 3 with TypeScript and uses Bootstrap 5 for UI. It is hosted as static site on GitHub Pages by the link: https://miaplaza.github.io/qr-code-generator/.
VSCode + Vue (and disable Vetur).
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Vue to make the TypeScript language service aware of .vue types.
See Vite Configuration Reference.
npm installnpm run devnpm run buildLint with ESLint
npm run lintThere is dev branch for development. All ready changes should go to main. The main branch is protected from direct pushes, so to add changes there you need to create a Pull Request from dev and merge it.
Deployment to GitHub Pages works using GitHub Actions configuration (see .github/workflows/deploy.yml file). Deploy is triggered by push to the main branch, so every successful merge with Pull Request triggers automatic deploy to GitHub Pages.