In my EmberJS application, I will precompile all the templates for my descriptors, so they are loaded as direct Javascript files.
The problem is that these precompiled templates do not fall into the Ember container, as I thought they were ... I get the following error when I specify a template for my view.
Uncaught Error: assertion failed: You specified the templateName "application" for <MyApp.ApplicationView:ember164>, but it did not exist.
Here is my view code.
window.MyApp.ApplicationView = Ember.View.extend({ templateName: 'application' });
I went through the execution and saw that these views were missing in the Ember container. Is there anything special I need to do to register precompiled templates with a container? If so, how?
Edit: I compiled templates with the npm pen package.
source share