Skip to content

Releases: karol-f/vue-custom-element

Fixed overwriting beforeCreated hooks in compiled versions

23 Oct 11:00
Compare
Choose a tag to compare

Fixed overwriting beforeCreated hooks in compiled versions (#59). Thanks @ggregg

Bump dependencies, #56, #58

22 Oct 21:00
Compare
Choose a tag to compare
  • bump dependencies
  • #56 - Binding objects to props in the early stage (thanks @suil)
  • #58 - [Vue warn]: Method "$emit" (thanks @ggregg)

Update Properties added via Mixin and Extend

23 Jul 22:58
Compare
Choose a tag to compare

Properties added via Mixin are not updated #31, thanks @SergejKasper

Avoid using eval

17 Jun 20:52
Compare
Choose a tag to compare

Avoid using eval in ES2015 detection (#26), thanks @benjarwar

Fix $emit, customEvent when Vue instance ready, bump dependencies

14 Jun 15:04
Compare
Choose a tag to compare
  • 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

06 Apr 20:45
Compare
Choose a tag to compare

ESM build and fix Vue versions interfering (#12):

Fix not working slots in [email protected]

06 Mar 13:04
Compare
Choose a tag to compare

Fix not working slots in production build

03 Mar 23:33
Compare
Choose a tag to compare

Fix not working slots in production build

Ability to use CSS in Shadow DOM

03 Mar 09:40
Compare
Choose a tag to compare

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;
  }`
});

v1.0.9

02 Mar 14:21
Compare
Choose a tag to compare

Use HMR (Hot Module Replacement) only in unminimized build.

  • dist/vue-custom-element.js - unminimized build with HMR
  • dist/vue-custom-element.min.js - productions build without HMR