samedi 18 mars 2017

Ember server does not serve dummy app while creating an addon

I am trying to write an Ember component addon. After complete the template structure I think it would be nice to see the layout inside the dummy application as a sanity test.

Follow the instruction below,

The Ember CLI uses a dummy app in tests/dummy for testing. In tests/dummy/app/templates/application.hbs you can put calls to both the helper and component. Then, with ember serve, you can navigate to localhost:4200 to ensure that everything is working as expected.

http://ift.tt/1SwG9E3

However when I use ember s it seems run the addon's app folder instead of tests/dummy. What should I do?




Aucun commentaire:

Enregistrer un commentaire