fix: 修正客户端无法正常获取环境变量问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m43s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m43s
- 在nuxt.config.ts中禁用prerender
This commit is contained in:
@ -69,11 +69,11 @@ export default defineNuxtConfig({
|
||||
target: 'esnext',
|
||||
},
|
||||
},
|
||||
prerender: {
|
||||
crawlLinks: false,
|
||||
routes: ['/'],
|
||||
ignore: ['/hi'],
|
||||
},
|
||||
// prerender: {
|
||||
// crawlLinks: false,
|
||||
// routes: ['/'],
|
||||
// ignore: ['/hi'],
|
||||
// },
|
||||
},
|
||||
|
||||
vite: {
|
||||
|
||||
Reference in New Issue
Block a user