if (Meteor.isClient) {
// counter starts at 0
Session.setDefault('counter', 0);
Template.hello.helpers({
counter: function () {
return Session.get('counter');
}
});
Template.hello.events({
'click button': function () {
// increment the counter when button is clicked
Session.set('counter', Session.get('counter') + 1);
}
});
Template.hello.helpers({
checkBoxObject: function () {
return { checked: true }
},
buttonObject: function () {
return { class: "myClass" }
},
headerAttributeMenu: function() {
return {
id : "navicon",
icon : "menu"
};
},
headerAttributeMoreButton: function() {
return {
id : "morebutton",
icon : "more-vert"
};
},
headerAttributePaperTabsBottomFit: function() {
return {
class: "bottom fit",
id : "morebutton",
selected : 0
};
}
});
}
if (Meteor.isServer) {
Meteor.startup(function () {
// code to run on server at startup
});
}
I get an error:
D:\Project\polymer>meteor
[[[[[ ~\D\Project\polymer ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
Type Control-C twice to stop.
=> Errors prevented startup:
While building the application:
polymer.html:22: Unknown stache tag
...wo{{/paper_tab}} {{/#paper_tabs}} ...
^
=> Your application has errors. Waiting for file change.
Hi,
I am getting issues with the following:
polymer.html
polymer.js
I get an error: