Quasar CLI with Vite - @quasar/app-vite v3
Warning! Beta Stage
The Quasar SSG Mode is currently in the “beta” stage. Based on the community feedback, the API may change in the future, so check the release notes each time you upgrade “@quasar/app-vite”.
Quasar CLI selects the application target through the --mode (-m) option of the quasar dev and quasar build commands.
Add SSG mode to an existing Quasar project with:
quasar mode add ssgYou can also start the SSG development server directly:
quasar dev -m ssgIf SSG mode is missing, Quasar CLI offers to add it before starting the server.
After you choose whether to use Filename-Based Routing, Quasar creates the following folder:
src-ssg/
ssg-renderer.js
# (or .ts) SSG generator script
package.json
# helps install SSG only deps directly under /src-ssg
The renderer defines which routes become static pages. See SSG Renderer before creating your first production build.