v1.0-beta-5
Pre-release
Pre-release
·
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 Elemental2beta-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 andvue-gwt:import
for style have been deprecated, they will be removed inbeta-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 consistencyVue.nextTick()
now only takes a callback as parameter- Due to Elemental2 upgrade
Array<>
is nowJsArray<>
Thanks a lot to @slavap for his feedback that helped improve this release!