fix(manifest): 修改manifest.js文件生成位置,从.nuxt移动至public目录下

This commit is contained in:
chengcheng
2025-08-28 15:21:11 +08:00
parent 3ee3a5cf77
commit 68e6b11e99
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export default defineEventHandler(async (event) => {
try {
// Nuxt buildDir 是 .nuxt
const manifestPath = join(process.cwd(), ".nuxt/generated/manifest.js");
const manifestPath = join(process.cwd(), "public/generated/manifest.js");
// 检查文件是否存在
await fs.access(manifestPath);