Recently I read the article “An In-depth Introduction to Emberjs” and followed step by step of its example code, but when it goes to renderTemplate part, it doesn’t work at all. Here is my code(not all the code):
It’s weird that when I go to /index.html#/users/create, user/edit template doesn’t come into sight, but there is no error reported in the console, and when I defined a template whose id is users/create, this users/create template got rendered on the page.
So why here the renderTemplate method doesn’t work?
If it doesn’t, make sure your user/edit template exists by checking for Ember.TEMPLATES['user/edit'] in the console. It’s possible that wherever you placed the template file in your app doesn’t match what your build tool expects and so the template could not be found.