Thursday, January 5, 2017

Vue GWT: Vue.JS integration for GWT 2.8

Hi,

We've just released an experimental version of Vue GWT. It's a Vue.JS integration for GWT 2.8 using JsInterop. It lets you easily create Vue.JS components in GWT.

For example a simple component can look like this:

<div>
   
<a
class="btn" @click="increaseCounter">
        Press me!
   
</a>
   
<p>You pressed {{ counterValue }} times</p>
</div>


@JsType
public class SimpleCounterComponent extends VueComponent
{
   
public int counterValue = 0;

   
public void increaseCounter()
   
{
       
this.counterValue++;
   
}
}


It's still a work in progress, but we would be glad to hear what you think of it.

You can check out the demo page built with Vue GWT here:

You can check the project out on GitHub:

We've also created a Gitter for quick feedbacks:

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment