/qclot

Development repository for Auckland PSI decision tool

Primary LanguageJavaScript

Auckland PSI

Developement repository

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:8080
$ quasar dev

# build for production with minification
$ quasar build

# lint code
$ quasar lint

Setup to deploy to Github Pages

Upgrade webpack set up:

  1. Install gh-pages module
npm install gh-pages --save-dev
  1. Add to package.json
"scripts": {
  "deploy": "gh-pages -d dist"
}
  1. Alter /config/index.js
build: {
    publicPath: '/qclot/'
}
  1. Run deply
npm run build
npm run deploy