Skip to content

Commit

Permalink
nuxt: disable prerender on redirected pages
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Dec 14, 2024
1 parent 8dee676 commit e4279ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ export default defineNuxtConfig({
build: {
transpile: ["primevue"],
},
nitro: {
prerender: {
ignore: ["/games", "/demos", "/music", "/tools"],
},
},

hooks: {
// By default, we use "pages" routing, matching the paths under /pages
// Here we add some additional routes
Expand Down

0 comments on commit e4279ee

Please sign in to comment.