Skip to content

Commit

Permalink
chore(docs): disable SSR and add nitro prerender configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Jan 19, 2024
1 parent eb87939 commit 07e1329
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const routeRules = {
}

const devConfig = {
ssr: false,
modules: [
'@nuxt/content',
'@nuxt/ui',
Expand Down Expand Up @@ -44,6 +45,7 @@ const devConfig = {
} as NuxtConfig

export default defineNuxtConfig(defu({}, process.env.DEV && devConfig, {
ssr: false,
nitro: {
prerender: {
crawlLinks: true,
Expand Down

0 comments on commit 07e1329

Please sign in to comment.