https://github.com/swuecho/j2cl_webpack_demo
https://github.com/swuecho/j2cl_webpack_demo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/swuecho/j2cl_webpack_demo
- Owner: swuecho
- Created: 2019-11-03T10:28:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T11:52:23.000Z (over 2 years ago)
- Last Synced: 2025-01-22T15:46:18.219Z (3 months ago)
- Language: HTML
- Homepage:
- Size: 3.41 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
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!'
# 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.