Open antoumpas opened 2 years ago
Hello,
Component options of the base component are not inherited when extending a component.
In the following example the browser throws an error "Error in created hook: "TypeError: Cannot set properties of undefined":
const baseComponent = { template: `<div>{{ test }}</div>`, props: { test: { type: Number, }, }, }; const component = { extends: baseComponent, }; customElements.define('my-element', wrap(Vue, component));
Hello,
Component options of the base component are not inherited when extending a component.
In the following example the browser throws an error "Error in created hook: "TypeError: Cannot set properties of undefined":