SPA

Use of Import-component.js in React with AEM

If you are using the archetype used in part 1 , then your react module contains a file called import-components.js . 1.What is the Use of import-component.js ? You need to import the components inside import-components.js , Otherwise, you will not be able to show your component into the page.i.e. Here is the location of […]

Read More

SPA in AEM 6.5 Part 2

1. How to create a custom SPA component ? Lets create a component in AEM For creating custom component you need to remember these things i.e. There is a mapping of components between aem module and react module. We should use Sling exporter to export our component json and so that it can be accessed […]

Read More

SPA in AEM 6.5 Part 1

What is SPA? SPA stands for single page application. It is a new feature in AEM 6.5 which helps us to build single page applications using react or angular with AEM. How SPA works in AEM? Let’s understand the flow using this diagram — We have an AEM Component in which we can have nodes […]

Read More