-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Component/s: JS Toolkit, ~ [Archived] Frontend Infrastructure
-
Labels:None
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Epic Link:
-
Sprint:S02 - Prologue, S02E01 - Alien Resurrection
-
Git Pull Request:
The idea is to be able to develop npm based portlets without any need to use any Java tooling at all, just npm.
Steps to setup test:
- Start portal
- Deploy com.liferay.npm.dummy.portlet-1.0.0.jar attached file
- Enter home page (http://localhost:8080)
Test:
- Add “NPM Dummy Portlet” portlet to page
- Make sure that portlet is called “NPM Dummy Portlet” (as specified in the “portlet” JSON of the “package.json” file inside the JAR)
- Make sure that portlet is under the “Sample” category (as specified in the “portlet” JSON of the “package.json” file inside the JAR)
- Add another “NPM Dummy Portlet” portlet to page to make sure that portlet is instanceable (as specified in the “portlet” JSON of the “package.json” file inside the JAR)
- Make sure that the portlet renders and shows the following ouput*:
- Note, however, that “Portlet Namespace” and “Portlet Element Id” may change due to the instance id.
- is duplicated by
-
LPS-84869 NPM portlet extender is failing with an exception when a managed portlet is deployed
- Closed