Hi,
I created a wknd spa react project in 6.5.11 I tried adding Text component in the logs its throwing an error as
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Vani1012 ,
Have you defined, you root page template as root. In policies, you will find a check box. See attached. Check this only for root page template.
Check this, If this can help - https://youtu.be/cWEfSNrgvRE
Hi @Vani1012 ,
Have you defined, you root page template as root. In policies, you will find a check box. See attached. Check this only for root page template.
Check this, If this can help - https://youtu.be/cWEfSNrgvRE
@Vani1012 - In AEM SPA Model, the root page of the site hierarchy should be created out of Root Page Template and subsequent child pages should be created out of content pages or any other template. So all the data which is in form .model.json loads as part of the parent model.json.
For example: You have /content/us/en/homepage.html, then the en page should be made out of root page template so that when you load homepage.html then en.model.json gets loaded which have the data of all the child pages and then you navigate seamlessly from one page to another without page reload.