The showcase for PatternFly Java is inspired by the PatternFly website. It provides pages for all supported components, layouts and extensions. The J2CL variant of the showcase is published to https://patternfly-java.github.io/.
The bulk of the showcase code is in the common module. The gwt and j2cl modules are just thin wrappers, contain just bootstrapping code and depend on the common module.
To build the showcase, you can use the dev.sh and prod.sh scripts:
USAGE:
dev.sh [FLAGS] <mode>
FLAGS:
-c, --clean Adds the 'clean' goal
-h, --help Prints help information
-v, --version Prints version information
--no-color Uses plain text output
ARGS:
<mode> One of 'gwt' or 'j2cl'Run ./dev.sh gwt, then open http://localhost:8888/showcase
Warning
GWT development mode currently only supports hot code reloading for the org.patternfly:patternfly-java-showcase-common module.
Run ./dev.sh j2cl, wait until you see
[INFO] ----- Build Complete: ready for browser refresh -----
then open another shell in showcase/j2cl and run
npm run watchThis will open https://localhost:1234/.
USAGE:
prod.sh [FLAGS] <mode>
FLAGS:
-c, --clean Adds the 'clean' goal
-h, --help Prints help information
-v, --version Prints version information
--no-color Uses plain text output
ARGS:
<mode> One of 'gwt' or 'j2cl'After a successful build, the script will open https://localhost:8080
Please let us know if you have trouble building the showcase. File an issue or join the chat.