Files
wails-nuxt/frontend/nuxt.config.ts
2025-09-04 10:23:20 +08:00

18 lines
503 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
css: ["./app/style.css"],
nitro: {
output: {
// 修改 Nitro 的缓存目录(默认为 .output
dir: "dist",
// 修改最终静态资源输出目录(默认为 dist
publicDir: "dist/public",
// 修改服务端构建输出目录(可选)
serverDir: "dist/server",
},
},
});