./example
- Liferay workspace./example/modules/example-portlet/
- Spring MVC portlet./react-union-boilerplate-liferay/
- FE project./react-union-boilerplate-liferay/packages/app-*
- App shells./react-union-boilerplate-liferay/packages/widget-*
- Widgets
See blade docs.
Installation:
curl -L https://raw.githubusercontent.com/liferay/liferay-blade-cli/master/cli/installers/local | sh
blade init -v 7.4 example
Inside workspace folder
blade create -v 7.4 -t mvc-portlet -p eu.lundegaard.example -c ExamplePortlet example-portlet
Successfully created project example-portlet in [WORKSPACE_DIR]/modules
./gradlew modules:example-portlet:build
Or
blade gw modules:example-portlet:build
Or
blade gw modules:example-portlet:jar
Jar can be found at: modules/build/example-portlet/libs
- Run docker container:
docker compose up
-
Go to http://localhost:8080/
-
Sign in
[email protected]
test
and change password.
yarn global add yo generator-liferay-js
yo liferay-js