This product is in beta state.
It is available to registered beta testers only.

JavaVue is provides a bridge between a Java application and Vue.

If you use this plugin, please give it a 5-star rating on the IntelliJ site. It will make us very happy and will encourage us to work even harder.

Overview

JavaVue embeds a web browser running Vue components inside a Java application. It provides methods and framework for the Java runtime to interact with the Vue components.

This speeds up development of your frontend.

  • Use a web browser to develop, and not have to compile Java.
  • Make changes in realtime without having to recompile Java.
  • Host your Vue code outside of your Java application.
  • Use NPM and Node modules for UI and logic.

You also benefit by leveraging CSS and JavaScript.

Your efforts are also reusable on a web server, node, and any web browser.

Usage

JavaVue uses JavaFX to create an embedded web browser.

The Vue Instance

todo:

Calling Java from Vue

todo:

Calling Vue from Java

todo:

Creating A Dialog In IntelliJ

todo:

Threading

Most frameworks require all interaction with the user interface to be invoked on a dedicated thread. Because Swing and JavaFX each have their own UI thread, it is very important to make sure calls are invoked on the proper thread.

All calls received from Vue are on the JavaFX thread. To call back into Swing, you must put your code in:

To call into Vue from Swing, you must put your code in:

todo: Add usage instructions

Bug and Feature Requests

You can request new features and report bugs by emailing info@twelvetone.tv

Active Issues