Feat : EXPERIMENTAL : add SSR
release-tag / release-image (push) Successful in 36s

This commit is contained in:
2024-07-21 19:01:07 +02:00
parent ba48570833
commit cfbaeca52b
7 changed files with 268 additions and 235 deletions
+6 -1
View File
@@ -1,7 +1,7 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: false,
ssr: true,
runtimeConfig: {
public: {
endpoint: process.env.NUXT_PUBLIC_ENDPOINT, // can be overridden by NUXT_PUBLIC_ENDPOINT environment variable
@@ -12,4 +12,9 @@ export default defineNuxtConfig({
vue: {
runtimeCompiler: true,
},
nitro: {
prerender: {
crawlLinks: true,
},
},
});