Skip to content

Commit e4279ee

Browse files
committed
nuxt: disable prerender on redirected pages
1 parent 8dee676 commit e4279ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nuxt.config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ export default defineNuxtConfig({
2222
build: {
2323
transpile: ["primevue"],
2424
},
25+
nitro: {
26+
prerender: {
27+
ignore: ["/games", "/demos", "/music", "/tools"],
28+
},
29+
},
30+
2531
hooks: {
2632
// By default, we use "pages" routing, matching the paths under /pages
2733
// Here we add some additional routes

0 commit comments

Comments
 (0)