You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vue.component('todo',{template: '<li>This is SPARTAAAAA</li>'})
Native template engine
<ul><todov-for="todo in todos"></todo></ul>
Knockout
// Just nothing
Punches template engine
// Use script tag for make template invisble with prerender
// U can use React virtual dom if you want or something else
<scripttype="text/html" id="todo"><li>This is SPARTAAAAA</li></script><uldata-bind="foreach: todos">
{#template: todo}{/template}
</ul>