Closed DirkStevens closed 11 years ago
The solution is to move the views folder under the client folder (root/client/views") and change the reference to the template:
$("body").append(Meteor.render(Template["client/views/ask"]));
Now it works.
Still an issue though with the rendered handler though: https://github.com/bminer/node-blade/issues/136
It looks like the practice advised by Meteor to use client and server folders introduces some confusion for Blade.
The Blade templates were compiled into JS functions and loaded in the app. However in Meteor.startup the template just won't render:
$("body").append(Meteor.render(Template.ask));