Learning template

how to insert one template into page. I have my template, name is search.html this template related js file, search.js Importantly, we need to import "templating", "search.html", and set helpers, helpers is for setting your template name, not the file name. Now i want to use this template into my first_page.html, so we have to … Continue reading Learning template


Meteor Learning diary 1

to build a new app     --meteor create name  spacebars: which includes  Inclusion, Expression, Block Helper Here is one example, Inclusion is in this format {{> templateName}}, which tells to Meteor we need another template  to show. In this case, we need postItem template. Expression is {{title}}, similar as angular JS Block Helper: is like … Continue reading Meteor Learning diary 1