Skip to content

React Router

This is an example project of a React Router app that connects to a Drupal installation using GraphQL.

Terminal window
npx create-react-router@latest --template octahedroid/drupal-decoupled/starters/react-router

Run the dev server:

Terminal window
npm run dev

Run the gql:sync script

Terminal window
npm run gql:sync

📖 See the React Router docs for details on supported features.