# Introduction

Vue GWT integrates Vue.js with GWT using JsInterop and Elemental2. It lets you write Vue.js components in Java.

# Features

  • Vue.js Components with a Java controller
  • Template expressions type checking at compile time
  • Web Components (Custom Elements) support
  • HTML templates are compiled during Java Compilation (only requires Vue.js runtime)
  • Use regular Java Objects and Collections in your templates
  • Supports injection in Components
  • Supports most of Vue.js features
  • Integrates with GWT Resources and Widgets

# Who is this for?

  • You want to code a Vue app with type checking, and take advantage of GWT optimizations.
  • You have GWT app, and you want easy to write views with 2 way data binding.
  • You have a Vue app and you need to use a Java library in some Components.

# GWT?

GWT or Google Web Toolkit is a Java to JavaScript Compiler created by Google. It outputs pure ES5, and doesn't require anything special in the browser to run. You can see it as TypeScript on steroids.

Some of the biggest Google projects are built with GWT, such as Google Docs, Inbox and AdWords.

# Let's do this!

When you are ready, you can get started with by setting Vue GWT up on your project.

INFO

We are looking for feedback. If you use Vue GWT on a project, please let us know how it goes.

This documentation was last updated for Vue.js v2.6.11 and Vue GWT 1.0.0