enable experimentalNoScripts again

This commit is contained in:
2025-10-05 14:27:26 +07:00
parent dab1294404
commit 85bbf0b687
+5 -5
View File
@@ -104,9 +104,9 @@ export default defineNuxtConfig({
experimental: {
// inlineSSRStyles: false,
},
// routeRules: {
// "*": { experimentalNoScripts: true }, // one level deep, render all pages statically
// "posts/*": { experimentalNoScripts: true }, // one level deep, render all post pages statically
// "posts": { experimentalNoScripts: false }, // enable js on /posts
// }
routeRules: {
"*": { experimentalNoScripts: true }, // one level deep, render all pages statically
"posts/*": { experimentalNoScripts: true }, // one level deep, render all post pages statically
"fonts": { experimentalNoScripts: false }, // except /fonts
}
})