Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Integrating Angular 9 app with Liferay 7.x portlet
Hello!
I have an Angular 9 app that I would like to make accessible via Liferay 7.x portlet.
When I follow these steps (Liferay Help Article), deploy my portlet and try to render it, I run into issues (reported as JavaScript errors in the browser console):
- "Can't bind to 'X' since it isn't a known property of 'Y'.
- "'X' is not a known element:
A. If 'X' is an Angular component, then verify that it is part of this module.
B. If 'X' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message."
The problem is that as far as I can see the modules in question are properly annotated and listed as exports, declarations, etc.
I would appreciate help with resolving these issues. I am happy to jump on a Zoom to demonstrate the details of my config.
Thank you!