Can we pass Angular state in AEM SPA framework

Avatar

Avatar
Validate 10
Level 3
kishore_polsani
Level 3

Likes

11 likes

Total Posts

77 posts

Correct reply

7 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 3
kishore_polsani
Level 3

Likes

11 likes

Total Posts

77 posts

Correct reply

7 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
kishore_polsani
Level 3

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

Avatar

Avatar
Validate 1
MVP
ArpitVarshney
MVP

Likes

136 likes

Total Posts

185 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Establish
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
MVP
ArpitVarshney
MVP

Likes

136 likes

Total Posts

185 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Establish
Give Back 5
Give Back 3
Give Back 25
View profile
ArpitVarshney
MVP

06-10-2019

Avatar

Avatar
Validate 10
Level 3
kishore_polsani
Level 3

Likes

11 likes

Total Posts

77 posts

Correct reply

7 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 3
kishore_polsani
Level 3

Likes

11 likes

Total Posts

77 posts

Correct reply

7 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
kishore_polsani
Level 3

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.