解决SSR问题

This commit is contained in:
2025-08-08 12:33:54 +08:00
parent be69a51bb2
commit 033150a442

View File

@@ -49,12 +49,11 @@ export default defineNuxtConfig({
nitro: {
prerender: {
routes: [
'/'
],
routes: ['/'],
crawlLinks: true,
autoSubfolderIndex: false
}
failOnError: false,
autoSubfolderIndex: false,
},
},
eslint: {
@@ -80,7 +79,8 @@ export default defineNuxtConfig({
routeRules: {
'/': { static: true },
'/docs/**': { ssr: false },
'/blog/**': { ssr: false }
'/blog/**': { ssr: false },
'/raw/**': { ssr: false }
},
llms: {
domain: 'https://docs.jiwei.xin',