Merge pull request #542 from nagisa77/feature/first_screen

fix: 首屏ssr优化
This commit is contained in:
Tim
2025-08-14 13:40:07 +08:00
committed by GitHub
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
}
},
}