|
|
@@ -26,6 +26,12 @@ if (process.env.NUXT_ENV === 'dev') {
|
|
|
*/
|
|
|
export default defineNuxtConfig({
|
|
|
ssr: true,
|
|
|
+
|
|
|
+ experimental: {
|
|
|
+ // Fix the 'Cannot stringify non POJO' bug
|
|
|
+ // @see https://github.com/nuxt/nuxt/issues/20787
|
|
|
+ renderJsonPayloads: false,
|
|
|
+ },
|
|
|
routeRules: {
|
|
|
// all routes will be generated at build time and cached permanently
|
|
|
'/**': { prerender: true },
|