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
RE: Liferay 7.1 - Angular - loading html issue
Hello! I have this common Angular problem with loading my template:
Actually, I try to load another html, not this app.component.html but I dont know how to get rid of it?
And I do not create new component, I just want to run my template from app.component.ts (with new component is the same story).
Have you ever have this problem in Liferay? Can you advise me sth? Thanks!!
Promise rejection: Failed to load app.component.html ; Zone: <root> ; Task: Promise.then ; Value: Failed to load app.component.htmI tried to resolve it with this tips https://stackoverflow.com/questions/39503805/zone-js344-unhandled-promise-rejection-failed-to-load-app-template-html-in-ang , but it doesn't help. I'm wondering why? Maybe Liferay is doing sth? I change my template path but still the same.
i
Actually, I try to load another html, not this app.component.html but I dont know how to get rid of it?
And I do not create new component, I just want to run my template from app.component.ts (with new component is the same story).
Have you ever have this problem in Liferay? Can you advise me sth? Thanks!!
See https://community.liferay.com/forums/-/message_boards/message/103176934
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™