-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This issue is also experienced in other vue libraries when upgrading to vue 3.
Since the h renderer function is no longer auto injected, it is not recognised as a function when invoked.
render (h) {
const data = {
staticClass: 'icon md-icon md-{{icon}}',
'class': this.className,
attrs: {
width: this.width,
height: this.height,
viewBox: this.viewBox,
xmlns: 'http://www.w3.org/2000/svg'
}
};
return h('svg', data, [
h('path', {
attrs: {
d: '{{path}}'
style: {
fill: this.color
}
})
])
See the following mentioned issue for in the vue cli plugin.
Metadata
Metadata
Assignees
Labels
No labels