Why is landing page an asset and not a component?
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Thanks a lot for your interest! This is by design. But, I'll talk about this with the PrimeNg team and get back to you asap.
Thanks a lot for your understanding.
Best Regards,
Thanks a lot for your interest! This is by design. But, I'll talk about this with the PrimeNg team and get back to you asap.
Thanks a lot for your understanding.
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Landing page is meant to be framework agnostic so implemented as a static content that provides easy SEO out of the box. You can wrap it as a component if you prefer though per your requirements.
-
- Posts: 4
- Joined: 06 Sep 2021, 03:19
i'm trying your advice "You can wrap it as a component" but JavaScript doesn't work:
How can I enable the Javascript piece of code?
Code: Select all
Uncaught TypeError: Cannot read properties of null (reading 'classList')
at openMenu
at HTMLAnchorElement.onclick (VM2205:25:2)
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
You need to update the JS codes. Firstly, you can move all JS events to your component ts file and then, you can bind it to the correct element.
Best Regards,
You need to update the JS codes. Firstly, you can move all JS events to your component ts file and then, you can bind it to the correct element.
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests