Registering a custom component in the Ember CLI

I would like to use the ic-tabs component in my Ember CLI application. It turns out ic-tabs are not exported with a name that resolves automatically in the Ember CLI (so I can't just use {{ic-tabs}} in my application).

How can I use an initializer to register components in my application?

+4
source share
1 answer

Perhaps with the introduction of ember-cli-addons

One of the key features that ember-cli-addons (ECA) does:

. , -; , , , , ..

ic- * any-component ember-cli, . , , ic- * .

ember-cli → ember-load-initializers

+1

Source: https://habr.com/ru/post/1543873/


All Articles