Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Can we pass Angular state in AEM SPA framework


Level 4

I see Adobe has introduced SPA framework in 6.$ SP2. Would like to know if this framework holds good for eCommerce sites?. Can we pass angular state when we traverse from one page to another?. If yes, is there a working prototype or demo?

2 Replies


Level 4

Thanks, I have gone through those links, these links hold good for marketing sites.

  1. Is SPA framework SEO friendly? I see <body> tag has only <app-root> element, and HTML schema is rendered from Angular components.
  2. We are declaring cq:pagemodel_root_url in index.html, this holds good for single site. How can we handle situation when we have multiple sites like /content/site1, /content/site2? How do we configure the cq:pagemodel_root_url in same git project?
  3. SPA framework fetches the jcr:content in angular.model.json, only media is rendered while we navigate to other pages. Can we pass angular state from one page to another, as I don't see any clientlibs or JS loaded when we navigate to other pages.