-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Description
With 1.0.10 the below works fine, with 1.0.11 I get error TypeError: text.replace is not a function
<icon class="abc" icon="def"></icon>
new Vue({
el: 'body',
components: {
icon: {
props: ['class', 'icon'],
template: '<svg class="si-icon {{icon}} {{class}}"><use xlink:href=""></use></svg>'
}
}
});
Vue 1.0.10 - working
http://jsfiddle.net/fergal_doyle/7wvfq6jp/2/
Vue 1.0.11 - error
https://jsfiddle.net/fergal_doyle/m5Lr59of/3/
Metadata
Metadata
Assignees
Labels
No labels