Open BonBonSlick opened 3 years ago
[Vue warn]: Error in mounted hook: "TypeError: Cannot read properties of undefined (reading 'test')"
found in
---> <Menu>
<LayoutDefault>
<Root>
console.info(this);
console.info(this.$style); // < --- WORKS WITHOUT MIXIN WITH .Getter DECORATOR
console.info(this.$style['test']);// < --- WORKS WITHOUT MIXIN WITH .Getter DECORATOR
}
component
mixin
package.json
vue.d.ts
So scoped styles with $style work fine untill adding .Getter decorator to mixin and using this package, it breaks something during build here, overriding or replacing node_modules/vue-class-component/lib/util.d.ts
webpack