jeudi 9 juillet 2020

While creating components on ember. Skipping .js file?

If i run below, comment for generating component in ember.

$ ember generate component my-new
installing component
create app\components\my-new.hbs
skip app/components/my-new.js
tip to add a class, run ember generate component-class my-new
installing component-test
create tests\integration\components\my-new-test.js

It doesn't create both componentName.js and template files. How to solve it?




Aucun commentaire:

Enregistrer un commentaire