Skip to content

Commit

Permalink
Added prerender route
Browse files Browse the repository at this point in the history
  • Loading branch information
jphetphoumy committed May 6, 2024
1 parent ec121de commit 945ad4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@ export default defineNuxtConfig({
theme: 'catppuccin-mocha',
langs: ['python', 'bash']
}
},
routeRules: {
'/articles/**': { prerender: true },
'/': { prerender: true },
'/contact': { prerender: true },
}
})

0 comments on commit 945ad4b

Please sign in to comment.