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
.
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.