https://github.com/dncomponents/dncomponents-java-elemental-starter
https://github.com/dncomponents/dncomponents-java-elemental-starter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dncomponents/dncomponents-java-elemental-starter
- Owner: dncomponents
- License: apache-2.0
- Created: 2023-03-25T23:06:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T14:02:20.000Z (about 2 years ago)
- Last Synced: 2026-03-29T00:54:45.476Z (3 months ago)
- Language: Java
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dncomponents-java-elemental-starter
Starter project for development User interface with HTML binder using elemental2 elements.
It demonstrates how to create your own components and
use it in html as any other elements.
This is basic project that only use core and mvp modules witth elemental2. If you want to use full dncomponents check [starter project with dncomponents](https://github.com/dncomponents/dncomponents-java-starter-bs).
## How to use
```
# clone project
$ git clone https://github.com/dncomponents/dncomponents-java-elemental-starter.git
# change directory to project folder
cd dncomponents-java-elemental-starter
# Start developing and serve your app:
$ mvn gwt:devmode
```
For you convenience, install intellij dncomponents plugin.
https://plugins.jetbrains.com/plugin/13486-dn-components .
When editing html files it will generate needed code on a save. Just reload browser to see changes.
If you don't use Intellij and dncomponents plugin - after editing html files you'll have to either manually run a new terminal and execute:
```
$ mvn compile
```
or run:
```
$ mvn fizzed-watcher:run
```
Which will monitor client folder for changes in html files and automatically run mvn compile command.