Skip to content

Commit 143d5dc

Browse files
committed
fix: 生成 .nuxt 配置
1 parent 71e22d2 commit 143d5dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/cli/src/actions/project.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ export async function createMonoRepoProject(dir: string) {
321321
}
322322
else if (framework === 'nuxt') {
323323
await execa(pnpm, ['install', 'nuxt', 'vue', 'vue-router', ...dependencies], { stdio: 'inherit', cwd })
324+
325+
await execa(pnpm, ['prepare'], { stdio: 'inherit', cwd })
324326
}
325327

326328
await execa('npx', ['simple-git-hooks'], { stdio: 'inherit', cwd })

0 commit comments

Comments
 (0)