vite-ssg
vite-ssg copied to clipboard
vite-ssg build getting failed with quasar framwork
I recently added quasar framework to my vite-ssg project (using vitesse). while trying to build with cross-env NODE_ENV=production vite-ssg build or pnpm build it is getting failed Now, I am able to build with cross-env NODE_ENV=production vite build but cannot build with cross-env NODE_ENV=production vite-ssg build
please find below screenshot for your reference

vite-ssg uses SSR for SSG: see warning about build with SSR and quasar vite plugin https://quasar.dev/start/vite-plugin#introduction
@userquin any road-map plans to resolve this issue??
@pavanrvennapusa the problem is on quasar, you can try to mocking the project with jsdom (see vite-ssg options)... there is nothing we can do here
@pavanrvennapusa the problem is on
quasar, you can try to mocking the project withjsdom(seevite-ssgoptions)... there is nothing we can do here
Any chance this works? If so, could you demonstrate this anywhere in an example?
i had to use vite build instead of vite-ssg to work with quasar,
In order to implement ssr on this project structure, I had to move to quasar cli with app-vite and use vite config inside of quasar config, that worked for me for ssr builds