fix: 首屏ssr优化

This commit is contained in:
Tim
2025-08-14 13:39:25 +08:00
parent 1dc13698ad
commit cb49dc9b73
2 changed files with 2 additions and 7 deletions

View File

@@ -52,6 +52,8 @@ export default defineNuxtConfig({
},
],
},
baseURL: '/',
buildAssetsDir: '/_nuxt/',
},
vue: {
compilerOptions: {

View File

@@ -1,7 +0,0 @@
export default {
push(path) {
if (process.client) {
window.location.href = path
}
},
}