fix(cli): incorrect command hint

This commit is contained in:
pengzhanbo 2024-09-01 11:12:49 +08:00
parent 80d4b122b4
commit cffb935b4f

View File

@ -35,7 +35,7 @@ export async function run(mode: Mode, root?: string) {
}
const cdCommand = mode === Mode.create ? colors.green(`cd ${data.root}`) : ''
const runCommand = colors.green(pm === 'yarn' ? 'yarn dev' : `${pm} run dev`)
const runCommand = colors.green(pm === 'yarn' ? 'yarn docs:dev' : `${pm} run docs:dev`)
const installCommand = colors.green(pm === 'yarn' ? 'yarn' : `${pm} install`)
progress.stop(t('spinner.stop'))