Decoupled (headless) Drupal/GraphQL with Svelte & Sapper frontend
We build a Svelte/Sapper front end to a decoupled/headless Drupal 8 backend communicating over GraphQL. Source:
(See in the source repo above)
Make sure you make the following changes to your Drupal 8 setup:
- install and enable GraphQL and GraphQL Core module
- give the following permissions to Anonymous User under GraphQL module: “Execute arbitrary GraphQL requests“ and “Bypass field security“
- in sites/default directory, copy default.s
6 views
793
215
5 years ago 00:38:31 6
Decoupled (headless) Drupal/GraphQL with Svelte & Sapper frontend