Skip to content

v1.0-beta-5

Pre-release
Pre-release
Compare
Choose a tag to compare
@adrienbaron adrienbaron released this 02 Dec 15:51
· 375 commits to develop since this release

5th beta release of Vue GWT.

What's new:

  • Integrated Custom Elements (Web Components) support 🎉! Turn any of your Vue GWT Component into a Custom Element in one line 👍.
  • $props can now be passed in template (Closes #17)
  • Support @Emit annotation same as vue-property-decorator (Closes #14)
  • Upgrade to JsInterop base beta-3 and Elemental2 beta-2
  • Unboxed primitive types don't have to be casted anymore in templates. You can do :my-property="true" instead of :my-property="(boolean) true" (See #15)

Deprecated:

  • @Style annotation and vue-gwt:import for style have been deprecated, they will be removed in beta-6. This is to make Vue GWT less dependent of GWT 2.x. Check here to see how to use CssResources in your templates.

Breaking changes:

  • $props() component method is replaced with an attribute named $props for consistency
  • Vue.nextTick() now only takes a callback as parameter
  • Due to Elemental2 upgrade Array<> is now JsArray<>

Thanks a lot to @slavap for his feedback that helped improve this release!