Highlighted

Can we pass Angular state in AEM SPA framework

kishore_polsani

04-10-2019

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?

Replies

Highlighted

kishore_polsani

07-10-2019

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.