Skip to content

Miaplaza/qr-code-generator

Repository files navigation

QR Code Generator

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/.

Recommended IDE Setup

VSCode + Vue (and disable Vetur).

Type Support for .vue Imports in TS

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.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

Making changes & deploy

There 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published