meteor-vue
meteor-vue copied to clipboard
print function source code
I followed this tutorial https://www.meteor.com/tutorials/blaze/temporary-ui-state.
I tried
sync: {
incompleteCount: function () {
return Tasks.find({checked: {$ne: true}}).count();
}
}
<header>
<h1>Todo List ({{incompleteCount}})</h1>
<label class="hide-completed">
when incompleteCount
equals 0, the page print out source code

oh, can you try [[
instead of {{
? we change that to avoid the conflict of blaze