diff --git a/docs/nuxt.config.ts b/docs/nuxt.config.ts index baacfacd..94dbc300 100644 --- a/docs/nuxt.config.ts +++ b/docs/nuxt.config.ts @@ -91,6 +91,15 @@ export default defineNuxtConfig({ // } // }, + nitro: { + prerender: { + // Pre-render the homepage + routes: ['/getting-started'], + // Then crawl all the links on the page + crawlLinks: true + } + }, + routeRules: { '/': { redirect: '/getting-started', prerender: false }, '/composables': { redirect: '/composables/define-shortcuts', prerender: false },