0

Researching this online and not having much luck if anyone has done this before.

How would one get the content from the CMS to update the FE and also create new pages / modules as a normal CMS would allow you to do?

Little confused on this.

2

You could take a look at the Element API to help bridge the gap between your React front-end and your Craft back-end. That will at least help you with getting data out of Craft.

As far as creating new pages and modules you'd use Craft's Control Panel (CP). You're going to have to take a look at the Craft Documentation in particular Sections & Entries.

| improve this answer | |
2

Piggy-backing off of the other answers here, using GraphQL via the CraphQL plugin is a really nice option, because you don't have to build your own ElementAPI via PHP. You just install the plugin, and away you go.

Check out the Using VueJS + GraphQL to make Practical Magic article and the GraphQL: Better than all the REST? podcast.

| improve this answer | |
1

Unlike Element API, the CraftQL plugin makes all CRUD calls available and straight forward. CraftQL

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.