This extremely simple Meteor app is throwing a Template is not defined error on load. The app is essentially identical to the boilerplate project (meteor create), just split into server/client/public directories.
Meteor seems to be trying to render the Handlebars template tags before the global Template object is actually ready. By the time I can get to the JS console and type “Template”, it is there.
Have I done something wrong, or is this a timing bug?
Hm, perhaps this will solve your issue:
Note that the body tag includes the template name but not the template:
Also, note that “.greet” refers to {{greet}}:
So, the issue was that you can’t have a template inside the body. Instead, the body calls the template with {{> hello}} as in the above code.