Skip to content

Releases: karol-f/vue-custom-element

Improve props handling - respect defined types

08 Apr 20:18
Compare
Choose a tag to compare

Improve props handling - respect defined types. Current behaviour is preserved until property type (https://vuejs.org/v2/guide/components-props.html#Prop-Validation) is used.

Thanks to it you can now freely handle passing string/numbers etc. without automatic conversion and it's guessing.

Thanks @auzmartist for a PR!

Add beforeCreateVueInstance hook

23 Feb 15:43
Compare
Choose a tag to compare

Add 'beforeCreateVueInstance' hook so root component definition could be changed. Thanks @suil for PR

Typescript improvements & minor dependencies bump

30 Jan 21:01
Compare
Choose a tag to compare
  • Typescript improvements (#83)
  • bump document-register-element to avoid NPM errors in Windows

Typescript changes

30 Jan 14:52
Compare
Choose a tag to compare

Merging @isaaclyman PR (#82) in response to #75 comments

Improve dependency installing and bump dependencies

29 Jan 13:46
Compare
Choose a tag to compare
  • Improve dependency installing, thanks @IParthJoshi (#81). Now you can npm install vue-custom-element --production without installing any dependency
  • bump dependencies, e.g. demo polyfill

TypeScript completition & enable passing string values to props for creating component in the plain JavaScript.

Improve automatic number prop type conversion (#64)

12 Dec 23:04
Compare
Choose a tag to compare

Improve automatic number prop type conversion (#64). It shouldn't break existing apps. Thanks @alinnert!

Fix #68 (Before create hook)

12 Dec 22:26
Compare
Choose a tag to compare

Fix #68 (Before create hook), thanks @ideafm

Add .prop v-bind support to vue-custom-element

28 Nov 18:28
Compare
Choose a tag to compare

Add .prop v-bind support to vue-custom-element #66. Thanks @auzmartist!

Comment node error

16 Nov 20:29
Compare
Choose a tag to compare

Fixed #63 - HTML comments cause TypeError, thanks @jcupps