Quasar Vue.JS app using Quasar Framework which includes:
- Read/Write to Google Firebase Cloud FireStore
- Fibonacci calculator
- Auto-generation of UI Elements in a page from JSON data file.
npm install -g @quasar/cli
npm install -g firebase-tools
yarn install
quasar ext add @quasar/<package name>
- Add
.quasar.env.json
which is used during application bootstrap.
{
"development": {
"API_KEY":"",
"AUTH_DOMAIN":"",
"PROJECT_ID":"",
"STORAGE_BUCKET":"",
"MESSAGING_SENDER_ID":"",
"APP_ID":"",
"MEASUREMENT_ID":"",
"DATABASE_URL":""
},
"production": {
"API_KEY":"",
"AUTH_DOMAIN":"",
"PROJECT_ID":"",
"STORAGE_BUCKET":"",
"MESSAGING_SENDER_ID":"",
"APP_ID":"",
"MEASUREMENT_ID":"",
"DATABASE_URL":""
},
"test": {
"API_KEY":"",
"AUTH_DOMAIN":"",
"PROJECT_ID":"",
"STORAGE_BUCKET":"",
"MESSAGING_SENDER_ID":"",
"APP_ID":"",
"MEASUREMENT_ID":"",
"DATABASE_URL":""
}
}
- Generate self-signed cert for serving HTTP/2 over HTTPS.
- Configure the cert path in
quasar.conf.js
devServer.https
section.
yarn dev
npm run lint
quasar build
firebase deploy
Publish the webapp to https://khteh.github.io GitHub Page
yarn deploy
- This will run
quasar build
andpush-dir
the content of dist/spa to https://khteh.github.io
- Fibonacci page.
- AutoGenerate page.
yarn test:unit:<foo>
yarn test:e2e:<foo>
yarn test:component:<foo>