since ‎22-02-2017
‎30-10-2020
phychem_ad
Level 1
AEM SPA - determine .env file at build time
Avatar

phychem_ad

phychem_ad
- Adobe Experience Manager
The issue is related to the SPA React package at build time. We used the aem-project-archetype as the starting point. It included a ".env" file in the ui.frontend folder to specify the environment variables for the React app. The ".env" file is used to inject the environment variables to the React app when the project is built (mvn clean install -PautoInstallPackage --> npm run build). I have searched this forum and found that some people pull the runmode via some hidden html but this is not a d...

Views

39

Likes

0

Replies

0
Re: Sitemap for SPA sites with AEM SPA implementation
Avatar

phychem_ad

phychem_ad
- Adobe Experience Manager
thanks @Vijayalakshmi_S @BrianKasingli in the case that my "When to use SSR" answer is no, may i know whether i still need to use the ACS commons sitemap generator to generate the sitemap (ie. is it even going to work on SPA sites) or assume(hope) that the main search engine will be able to evaluate the JS?

Views

80

Likes

0

Replies

0
Sitemap for SPA sites with AEM SPA implementation
Avatar

phychem_ad

phychem_ad
- Adobe Experience Manager
Hi we are implementing an SPA site with AEM 6.5+SPA editor, is there a way to generate a sitemap to optimize for SEO? or is SSR a must? and if SSR is a must, then using Adobe I/O also the recommended approach? with my previous implementation with AEM 6.3, we used the ACS commons sitemap generator https://adobe-consulting-services.github.io/acs-aem-commons/features/sitemap/index.html for non SPA app. Would this still work for SPA?

Views

144

Likes

0

Replies

3
Likes given to