From 85bbf0b687dc3255c33ec637523d537207b7d873 Mon Sep 17 00:00:00 2001 From: Techit Thawiang Date: Sun, 5 Oct 2025 14:27:26 +0700 Subject: [PATCH] enable experimentalNoScripts again --- nuxt.config.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 70292ba..dacb85b 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -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 + } }) \ No newline at end of file