Quasar Notes
Install
-
sudo npm install -g quasar-cli
Create your first App
create starter boilerplate folder
-
quasar init <folder name>
-
cd <folder name>
-
sudo npm install
Start a development server of your first App, equipped with hot reload:
-
$ quasar dev [theme]
-
# start with 'mat' theme
-
quasar dev
-
# or
-
quasar dev mat
-
# start with 'ios' theme
-
quasar dev ios
get available Component templates
$ quasar new -l
$ quasar new --list
generate .vue file from a Component template
$ quasar new component Hello
generate .vue file from a template to a subfolder
$ quasar new layout layout/about/help/Hello
the above creates src/components/layout/about/help/Hello.vue
vuex install:
sudo npm install vueex
resourse retuired
https://github.com/mzabriskie/axios
sudo npm install axios
npm install --save vuex axios
Update Quasar
-
npm install --save quasar-framework@latest
Updating to v1
https://quasar.dev/start/upgrade-guide
- QSelect - add property emit-value and map-options, error-label turned to error-message
- Notify - detail -> message
- QField - remove most of the time
- QDialog - .then() -> .onOk()
RJM Article Type
Quick Reference