Skip to content

react app adapt - portlet configuration variableΒ #362

@0xAnakin

Description

@0xAnakin

Issue type (mark with x)

  • πŸ€” Question
  • πŸ› Bug report
  • 🎁 Feature request
  • πŸ€·β€β™€οΈ Other

liferay-js:adapt react app issue with index.js entryPoint / variables

Desired behavior:
Have access to the configuration portlet variable at least

Current behavior:
After liferay-js adapt I added my portlet in a page, but altho there is no error I would like to access the portlet configuration but there isn't any. Also I have created a configuration.json file inside features directory.

Other information (environment, versions etc):

npm: v6.14.6
node: v10.22.1

npm ls --depth=0 -g

+-- generator-liferay-js@2.22.1
+-- generator-liferay-theme@10.0.1
+-- gulp@4.0.2
+-- npm@6.14.6
`-- yo@3.1.1

Is there any way to have access to the configuration variable in a react project after liferay-js:adapt? is it a bug or what?

Source provided in Liferay help center ticket https://help.liferay.com/hc/requests/37048

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions