App Build Commands
Development
Starts a Node.js local development server. See API Proxying For Dev for more details.
|
While developing with Dev Server you will have:
- Ability to develop on phone with Quasar Play App
- Webbpack + vue-loader for single file Vue components
- State preserving hot-reload
- State preserving compilation error overlay
- Lint-on-save with ESLint
- Source maps
Generate .vue Components
After creating an App folder with the CLI, inside your App you’ll have a folder named /templates
that contains templates for: layout
, view
(page), or a generic Vue component
.
You can generate components for your App in your /src
folder:
Add your own component templates. Quasar will be able to handle them.
Serve Static-Content Folder
You are able to create an ad-hoc web server to serve static-content web files from a folder. Browser sessions are automatically refreshed when content changes. User click/scroll can be synchronized.
This command comes in really handy after building your Quasar App for production. The /dist
folder contains files that are meant to be served with a webserver. So here you go:
This command does not rely on Quasar Framework. Any folder with any web content can be served.
Production
Build assets for production.
|
- Javascript minified with UglifyJS
- HTML minified with html-minifier
- CSS across all components extracted into a single file and minified with cssnano
- All static assets compiled with version hashes for efficient long-term caching, and a production index.html is auto-generated with proper URLs to these generated assets