An open API service indexing awesome lists of open source software.

https://github.com/swuecho/j2cl_webpack_demo


https://github.com/swuecho/j2cl_webpack_demo

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# j2cl_webpack_demo

## how this project is created?

1. This probject is created using `vue create j2cl_webpack_demo`
2. The `helloworld.js` and `helloword.js.map` are copied from [j2cl_export_symbol_demo](https://github.com/swuecho/j2cl_export_symbol_demo), which is based on `j2cl sample project` in j2cl repo with minor modification.
3. after `yarn install` and `yarn serve`, the output in the sceen should be 'Hello from Java! and JS!'
![hello](/public/j2cl_hello.png)

# why this useful?

If you have a java lib and plan to use it in browser, this approach works.

How about start a new project and write new code in java? You will have better experience with other language, such as typescript, bucklescript.