This commit is contained in:
zyj
2025-09-19 00:27:19 +08:00
commit 0c2a78f91b
50 changed files with 11293 additions and 0 deletions

15
frontend/nuxt.config.ts Normal file
View File

@@ -0,0 +1,15 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
ssr: false, // 关闭 SSR改为 CSR
nitro: {
preset: 'static',
output: {
publicDir: './dist' // 相对 Nuxt3 项目根目录的路径
}
},
app: {
baseURL: './' // 确保相对路径,方便打包到 Wails
}
})