Skip to content

A simple liferay 7.3.1 portlet with a react frontend using the react:component tag. Built with maven

Notifications You must be signed in to change notification settings

rahulahoop/liferay-react-component-portlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Working portlet example for LR 7.3.1

##important things to note

  • When using maven, liferay-npm-scripts doesnt include the translated code in the jar. Therefore, the "-includeresource" line is added to the bnd.bnd file.

  • also added to the bnd file is the web context, formatted in this project like so "Web-ContextPath: /reactlet"

  • When programming in react, it is common to leave out the "index" in an import path, as react is automcatiically looking for the index file when giving a directory. This feature is currently not compliant with the babel translator and will cause errors. Therefore, in react when importing - one must explicitly add the index file to the path.

About

A simple liferay 7.3.1 portlet with a react frontend using the react:component tag. Built with maven

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published