Reputation: 12704
What's the most correct way to use Ember list view with ember-cli?
The docs still show the {{#collection}}
helper, and even though that works, that helper has been deprecated.
I tried using {{#view 'list-view'}}
, and it didn't throw any errors, but it also didn't work. I believe it didn't render the itemView
.
Upvotes: 4
Views: 497
Reputation: 354
I didn't tackle whether it should use collection
or view
, but I did find a way to load list-view
into an ember-cli
project (when ember-cli
is at version 0.0.40 or less).
I submitted the solution as an Ember-CLI pull request. Since it's a version-specific solution, I won't be surprised if they don't merge it, but it might be a "magnet" for even better solutions.
Look in my proposed README under Installation.
Upvotes: 0