From cffb935b4faf0404d2d8eda123fc0c164257238b Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sun, 1 Sep 2024 11:12:49 +0800 Subject: [PATCH] fix(cli): incorrect command hint --- cli/src/run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/run.ts b/cli/src/run.ts index f9ebfa01..06544d98 100644 --- a/cli/src/run.ts +++ b/cli/src/run.ts @@ -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'))