12 lines
738 B
Markdown
12 lines
738 B
Markdown
# qr-code-generator
|
|
A free customisable QR code generator written in react.
|
|
|
|
- `npx create-react-app . --template typescript` to create a new react app with typescript
|
|
- `npm i react-qr-code` to install the QR code library
|
|
- `convert logo.svg -define icon:auto-resize=64,48,32,16 favicon.ico` to create a favicon from the logo
|
|
- `convert logo.svg -resize 192x192 -background none -gravity center -extent 192x192 logo192.png` to create a 192x192 logo from the input
|
|
- `convert logo.svg -resize 512x512 -background none -gravity center -extent 512x512 logo512.png` to create a 512x512 logo from the input
|
|
|
|
- `npm run build` to build the app
|
|
- `npm run start` to start the app
|
|
- `firebase deploy --only hosting:qr-code-jms` to deploy the app |