quasar-spa-development
Installation
SKILL.md
Quasar SPA Development
Use this skill with quasar-development for shared application concerns.
Work in SPA mode
- Inspect
quasar.config.*, router history mode,build.publicPath, boot files, and deployment target. - Read the current Quasar SPA documentation.
- Add SPA mode explicitly only when needed:
quasar mode add spa. - Run locally with
quasar dev -m spa; build withquasar build -m spa.
Preserve deployment invariants
- Configure the web server to serve
index.htmlfor unknown client-side routes when using history routing. - Use hash routing when the host cannot provide fallback rewrites and the URL tradeoff is acceptable.
- Align router history,
publicPath, asset URLs, and the deployment subdirectory. - Do not place secrets in client code or build-time client environment variables.
- Lazy-load routes and substantial features; measure bundle output before adding manual chunking.
- Keep offline behavior in PWA mode rather than building an ad hoc service worker into SPA mode.