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.
Check if this example help.
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.
Thq Mohamood. This link helps.