gwtboot / gwt-boot-samples

GWT Boot: Samples to check all the Starters
Apache License 2.0
40 stars 23 forks source link

Outdated Vue example #5

Closed baldram closed 6 years ago

baldram commented 6 years ago

Hello @adrienbaron !

It's an interesting project which helps to start with GWT and chosen frontend framework quickly. I had a look on Vue which seems to be an interesting option. I see that the example seems to be outdated regarding to the latest Vue-GWT release.

Please see: https://github.com/gwtboot/gwt-boot-samples/blob/master/gwt-boot-sample-ui-vue-gwt/src/main/java/com/github/gwtboot/sample/ui/vuegwt/client/components/counter/CounterComponent.java

And this: https://axellience.github.io/vue-gwt-demo/

Now it's enough to use @Data annotation instead of JsInterop related one.

@Component
public class CounterComponent implements IsVueComponent {
    @Data int counterValue = 0;
}

The latest Vue-gwt release delivers a lot of groundbreaking changes. Gwtboot is probably not yet adjusted.

Thanks and best regards, Marcin

adrienbaron commented 6 years ago

Hi!

Thank you for opening the issue 🙂, I'm actually also one of the main dev of Vue GWT 😉, but I indeed forgot to upgrade the GWT Boot sample, I'll try to do that today!

adrienbaron commented 6 years ago

@baldram Just pushed the updated sample and upgraded the dependency in GWT Boot Modules project, I'm not sure if the SNAPSHOT of modules gets published automatically or if @lofidewanto has to do something for it to get published though. If you have questions regarding Vue GWT, we have an active Gitter channel: https://gitter.im/Axellience/vue-gwt

lofidewanto commented 6 years ago

I'll deploy the change to SNAPSHOT repo... Wait a bit.

lofidewanto commented 6 years ago

@adrienbaron: I did not see your changes, did you merge to Master? Did you make a PR?

lofidewanto commented 6 years ago

Done, the new dependencies for gwtboot-modules is on the SNAPSHOT repo OSS Sonatype. I uploaded the gwtboot-modules.

baldram commented 6 years ago

Thank you @adrienbaron for fast reaction!

I'm actually also one of the main dev of Vue GWT

Yes, I know that ;-) That's why I mentioned you in the header :-)

Thank you @lofidewanto for support!