💡 This is a Gatsby 4 project bootstrapped with create-gatsby and uses the official @directus/gatsby-source-directus plugin.
You will need to have the provided Directus project running first before proceeding with this example.
-
Clone this repo.
-
Install dependencies for this example.
cd gatsby npm install -
Create a
.envfile by copying the provided.env.examplefile. -
Start the development server.
npm run develop
Your Directus Gatsby example is now running at http://localhost:8000.