A Quasar Project
Demo VDO
1 Java Springboot java-spring-boot-starter
yarn
# or
npm install
Config your Project at my-app
/quasar.config.js
API endpoint
env: {
API: ctx.dev ? 'http://localhost:8080' : 'https://api.yourdomain.com',
cdnBaseUrl: ctx.dev
? 'http://localhost:8080'
: 'https://api.yourdomain.com',
}
devServer
devServer: {
// https: true
open: false, // opens browser window automatically
port: ctx.mode.spa ? 8000 : ctx.mode.pwa ? 9000 : 9100,
},
npm run dev or
yarn dev or
quasar dev
Starting webserver at port 8000
npm run dev:ssr or
yarn dev:ssr or
quasar dev -m ssr
Starting webserver at port 9100
yarn lint
# or
npm run lint
yarn format
# or
npm run format
npm run build or
yarn build or
quasar build
npm run build:ssr or
yarn build:ssr or
quasar build -m ssr
Docker run
docker-compose build
docker-compose up -d