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
The legacy 0.10 docs mentions having only 1 root element as a restriction to replace.
Current version (0.11) seems to have replace: true work for components with multiple root elements, but v-with breaks with no warning.
varComponentA=Vue.extend({//template: '<div>{{bar}}</div>', // this workstemplate: '<div>{{bar}}</div><div></div>',// this doesn'treplace: true});newVue({el: 'body',template: '<component-a v-with="bar: foo"></component-a>',data: {foo: 'Test Test Test Test'},components: {'component-a': ComponentA}});
The text was updated successfully, but these errors were encountered:
The legacy 0.10 docs mentions having only 1 root element as a restriction to
replace
.Current version (0.11) seems to have
replace: true
work for components with multiple root elements, but v-with breaks with no warning.doesn't work - http://jsfiddle.net/r4h8p5jz/
works - http://jsfiddle.net/r4h8p5jz/1/
The text was updated successfully, but these errors were encountered: