N
Nuxt7mo ago
CopyPasta

How to enable SSR for only select pages in Vercel

Hello, Here's my nuxt config
routeRules: {
'/**': {
ssr: false,
prerender: true,
isr: true
},

'/server/*': {
ssr: true,
isr: 10
}
},
routeRules: {
'/**': {
ssr: false,
prerender: true,
isr: true
},

'/server/*': {
ssr: true,
isr: 10
}
},
But even with this config the homepage route / seems to be a server function. Even static assets are served from a function (See the attached image). Basically I only want /server/* routes to use ssr and other pages/files to be static.
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server