Nuxt’s route-based rendering configuration nuxt.config.ts
export default defineNuxtConfig({ routeRules: { // Homepage pre-rendered at build time ‘/’: { prerender: true }, // Product page generated on-demand, revalidates in background ‘/products/$’: { swr: true }, `
// Blog post generated on-demand once until next deploy ‘/blog/$’: { isr: true },
} })
// Admin dashboard renders only on client-side ‘/admin/$’: { ssr: false },