We are using AEM 6.5 with React SPA. We want to get the content fragment models data in to React as JSON.
Expectation is make use of CF models properties data to built UI.
Any inputs here? or any suitable approach here.
Solved! Go to Solution.
Check if this example help.
https://engineering.icf.com/using-a-content-fragment-api-in-react/
Views
Replies
Total Likes
AEM gives you the flexibility to do
1. WCMS - Page delivery
2. Headless CMS - only JSON API delivery.
3. Hybrid CMS - both JSON API and Page delivery.
For SPA based CSM, you got two options
1. SPA Editor - Getting Started with SPAs in AEM - Angular
2. Custom Exporter API - You can expose a custom JSON API for the page component and expose the data on it. Overview
Hope this is useful.
Check if this example help.
https://engineering.icf.com/using-a-content-fragment-api-in-react/
Views
Replies
Total Likes
Thq Mohamood. This link helps.
Views
Replies
Total Likes