I am trying to render a view dynamically in Ember.js
Resume.ItemView = Em.View.create({
click: function(){
var view = Em.View.create({
templateName: 'my_exp'});
view.append();
},
});
I have in /templates my_exp.hbs
But get
Uncaught Error: assertion failed: You specified the templateName my_exp for <Ember.View:ember261>, but it did not exist.
Is there a better approach for trying to do this? Can anyone suggest resources?
Ember.TEMPLATES
, do you see your template in the collection? – MilkyWayJoe