Expand my Community achievements bar.

Can we pass Angular state in AEM SPA framework

Avatar

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

Avatar

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.