I am having problem using above three libraries in a project created using ember-cli.
For example,
I have ember-table.js in vendor/legacy/ember-table/
. In my Brocfile.js app.import('vendor/legacy/ember-table/ember-table.js');
.
But using {{table-component}}
in template I get following Uncaught TypeError: createChildViews first argument must exist
.
Then I added ember-table.js
in templates/components/
with other files. But it’s still failing with same error.
I had similar problem using ember-wdigets.js
. Using {{accordion-group-layout}}
in template failed with Assertion Failed: You specified the layoutName accordion_group_layout for <Ember.Widgets.AccordionItem:ember559>, but it did not exist.
But it was luckily resolved using above mentioned method.
Is ember-cli
not able to find templates included in vendor/legacy/ember-table/ember-table.js
? What is the best practice to use those libraries ?