Skip to content

Commit

Permalink
fix(cli/create): fix path of create template
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Oct 30, 2022
1 parent 9c67fc3 commit a48e875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-cli/src/node/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a48e875

Please sign in to comment.