I'm trying to add iron router to my website and the problem I got is
my template calling {{> templateName }} no longer works
I join the code of body.html where I call mostly all my templates. I've read that I should use {{> yield}} but I don't understand how it will display the right template and what I need to do to re-use my templates...
lib/router.js
Router.route('/', function () {
this.render('acc');
});
I'm trying to add iron router to my website and the problem I got is
I join the code of body.html where I call mostly all my templates. I've read that I should use
{{> yield}}
but I don't understand how it will display the right template and what I need to do to re-use my templates...lib/router.js
imports/ui/body.html
imports/ui/body.js
And that's all I did. Can someone help me to use my templates again ?