Skip to content

Commit

Permalink
docs: fix prerender (#3249)
Browse files Browse the repository at this point in the history
* docs: fix prerender

* fix: prerender nuxt preview app
  • Loading branch information
mattmaribojoc authored Nov 20, 2024
1 parent 3f041ce commit 6eeda6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/docs/components/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default defineNuxtConfig({
},
},
prerender: {
routes: ['/'],
crawlLinks: true,
failOnError: false,
},
Expand Down
6 changes: 6 additions & 0 deletions apps/preview/nuxt/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ export default defineNuxtConfig({
}
: {}),
},
nitro: {
prerender: {
routes: ['/'],
crawlLinks: true,
},
},
vite: {
plugins: [
{
Expand Down

0 comments on commit 6eeda6b

Please sign in to comment.