diff --git a/scripts/plop/plopfile.js b/scripts/plop/plopfile.js index 49a8e415..4b4e0c5c 100644 --- a/scripts/plop/plopfile.js +++ b/scripts/plop/plopfile.js @@ -4,7 +4,7 @@ export default function (plop) { plop.setHelper('tagToTitle', tag => { const withoutPrefix = plop.getHelper('tagWithoutPrefix'); const titleCase = plop.getHelper('titleCase'); - return titleCase(withoutPrefix(tag)); + return titleCase(withoutPrefix(tag).replace(/-/g, ' ')); }); plop.setGenerator('component', {