From a48e875c4c1d77a1c45a17184f4d7c53cd9e9d05 Mon Sep 17 00:00:00 2001 From: BeADre Date: Tue, 25 Oct 2022 14:49:01 +0800 Subject: [PATCH] fix(cli/create): fix path of create template --- packages/varlet-cli/src/node/commands/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/varlet-cli/src/node/commands/create.ts b/packages/varlet-cli/src/node/commands/create.ts index b79e3edd11b..a427fcb76e2 100644 --- a/packages/varlet-cli/src/node/commands/create.ts +++ b/packages/varlet-cli/src/node/commands/create.ts @@ -108,7 +108,7 @@ export async function create(options: CreateCommandOptions) { renderData.style = style } - copySync(resolve(dirname, '../../template/create'), componentFolder) + copySync(resolve(dirname, '../../../template/create'), componentFolder) await renderTemplates(componentFolder, componentFolderName, renderData) if (!renderData.locale) {