javascript - vuejs component template files -


i'm looking build simple spa vue.js. i'd load different templates , animate transition between them this:

http://codepen.io/michaeljcalkins/pen/bnqrez

the example great, i'd load each component's template separate file.

something like:

var foo = vue.extend({     template: '/foo.html' 

i went through documentation can't seem find anything. how go achieving this?

thank you!

as mentioned björn above, doesn't it's possible use template url's in vue. björn!


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -