Is it possible to use two generators on one project with yeoman?
For example: I want to use the angular-generator but also want to use another generator, whether it be custom or one of the bootstrap generators.
I know you can add dependencies through bower, but that doesn't add anything to my workflow(e.g. compiling less), does it?
Yeoman features a clear API, a generator's generator for getting started, and serious ease-of-use as a Node. JS module. Second, maintainability. Yeoman is being used by thousands of people worldwide and it's based on the Backbone.
Yes, it is not only possible, but common. Example: When you use JS-MV* generator in the project (generator-angular
for instance) you will probably use generators responsible for other stuff, such as generator-travis-ci
, generator-heroku
.
Using two generators dedicated to two different JS-MV* frameworks ? NO. It makes no sense.
Yo can do it physically, for instance running generator-ember
and generator-angular
consequently in the same dir will result in angular's one trying to overwrite files generated previously by generator-ember
.
As for the second question changing the workflow is basically changing the Gruntfile. It can be done by generators or by you, manually.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With