Closed thematho closed 7 years ago
thanks, @thematho.
How do you think, should we leave usage of gulp component or maybe it would be better to use special code generation tools like plop? I already prepared #191 which also handles naming.
@fesor Thanks for your comment, I think plop
is much better so I'll discharge this pull request.
I'm going to merge your branch with mine, and add some features like service
, factory
and ngMocks
generators. when your pull request gets merged I'll send another one.
Regards.
This pull request contains updates for the
cap
function in thegulp
component task. Now we can create components with names containing-
and_
.Example: Running:
npm run component -- --name my-component
Will generate:And the controller name will be:
Changelog: