How to prerender Nuxt Content when ssr is disabled?
is there any way to prerender nuxt content when
ssr
is set to false
? when using the generate
command2 Replies
The only way I’ve found to reliably do this is with setting ssr to true. You can still run generate with ssr: true. There’s also the experimental/ client build config option but it doesn’t seem very reliable for me.
Nothing is pre-rendered when SSR is disabled. Instead, you can enable SSR in the config, and then disable SSR for all routes using
routeRules
whilst also selectively pre-rendering routes.