Sign in to Community
Sign in to view all badges
i have a situation with SPA . i was trying to use HTL component and Non-HTL component on the sampage. Actually can we do that .
Yes, we can use the HTL and JSP component in same page.
make sure to check the parsys, which you have included is a JSP or HTL.
For both, you will have to go in design mode and add the component.
that ok , but th ething is when the Singl epage application comes in to picture i am using react to creat react component which i can't us in page.
In single page application, are you storing or generating the react js code in clientlib using front-end maven plugin? if not then I am not sure how you will use other components.
If I am not wrong, like in SPA the HTML generates from react developers and whatever they give you, you paste it to index.html.
if this is the case, using parsys is difficult. if not, you can use parsys in your spa page and then drag n drop the components.