gatsby-starter-graphcms-blog
• Demo • gatsby-source-graphcms
Quick start
- Create a new Gatsby project via the Gatsby CLI
gatsby new graphcms-blog https://github.com/GraphCMS/gatsby-starter-graphcms-blog
- Provide your GraphCMS project keys
In order to use this starter, you’ll need to have created a new GraphCMS project using our
Blog Template.
Navigate into your new site’s directory and copy the .env.sample file.
cd graphcms-blog
cp .env.sample .env
Inside of your newly created .env file, provide values for each variable. These variables can be found in the project settings UI.
GRAPHCMS_ENDPOINT=""
GRAPHCMS_TOKEN=""
- Start building!
yarn dev
Features
- Use
gatsby-imagewith your GraphCMS image assets. - MDX support via
gatsby-plugin-mdxon GraphCMSRichTextfields. - Built with Tailwind CSS.
