mardi 19 juillet 2016

Generate another blueprint from an Ember CLI blueprint

I've created a custom blueprint based on the docs at http://ift.tt/29SScK6 and I want to run a different blueprint (essentially ember g something-else ...) from inside my first blueprint. How can I do this?

Specific use-case: I've overrode Ember CLI's default Component blueprint, and I want to generate a matching CSS partial (in app/styles/components/) for every generated Component, inside my new Component blueprint.




Aucun commentaire:

Enregistrer un commentaire