Releases: karol-f/vue-custom-element
Releases · karol-f/vue-custom-element
Fixed overwriting beforeCreated hooks in compiled versions
Bump dependencies, #56, #58
Update Properties added via Mixin and Extend
Properties added via Mixin are not updated #31, thanks @SergejKasper
Avoid using eval
Avoid using eval in ES2015 detection (#26), thanks @benjarwar
Fix $emit, customEvent when Vue instance ready, bump dependencies
- Fix $emit behaviour - "Event-binding does not work, if custom elements are also used as vue-components" #25
- customEvent
vce-ready
when Vue instance ready - bump dependencies
ESM build and fix Vue versions interfering
ESM build and fix Vue versions interfering (#12):
- ESM build (thanks @chimon2000)
- fix Vue versions interfering (thanks @adamgoose)
Fix not working slots in vue@1.x
Fix not working slots in vue@1.x
Fix not working slots in production build
Fix not working slots in production build
Ability to use CSS in Shadow DOM
Options object now accept shadowCss
string that will be inserted into element's Shadow DOM.
Example:
import MyElement from './MyElement.vue';
Vue.customElement('my-element', MyElement, {
shadow: true,
shadowCss: `
.card {
background-color: blue;
}`
});