This Gatsby starter is designed to use highly structured content from a headless CMS such as GraphCMS. All content should be set up with strong parent/child relationships, which allows maximum decoupling of the Gatsby logic and the site structure.
https://gatsby-starter-tailwind-graphcms.netlify.app/
Use the following tooling:
- Tailwind CSS for styling
- GraphCMS for structured content
- Netlify for deployment and hosting
Features:
- Slider
- Page headers
- Multi-level menu
- Breadcrumbs
- Page preview component
Pages Included:
- Home page
- Services pages
- Portfolio
- Team members
- Contact
Directions coming soon. Files in the /graphcms-fragments
directory give and idea of one possible schema in GraphCMS.
You'll need a GraphCMS project to start out.
- Add a
.env.development
file with the following keys:GRAPHCMS_PROJECT_API=<your GraphCMS API endpoint> GRAPHCMS_PROD_AUTH_TOKEN=<your prod access token> GRAPHCMS_DEV_AUTH_TOKEN=<your dev access token> ENABLE_GATSBY_REFRESH_ENDPOINT=true
yarn install
ornpm install
to install dependenciesyarn start
to run the Gatsby development server
Coming soon
Additional documentation coming soon