diff --git a/plop-templates/page/prompt.js b/plop-templates/page/prompt.js index 1de9011..26c2d38 100644 --- a/plop-templates/page/prompt.js +++ b/plop-templates/page/prompt.js @@ -42,7 +42,7 @@ const actions = [ { type: 'add', - path: `${data.path}/{{dotCase name}}.vue`, + path: `${data.path}/{{camelCase name}}.vue`, templateFile: 'plop-templates/page/index.hbs', data: { componentName: `${relativePath} ${data.name}`,