After completing step 09
npm i @contentful/rich-text-react-renderer --save
gatsby develop
You can view the GraphQL Explorer at:
http://localhost:8000/___graphql
select the allContentfulBlogPost/edges/node in the GraphQL Explorer and create the Query and run it to test it.
Update index.tsx
You can now view the website with Contentful blog post title content in the browser. ⠀ http://localhost:8000/
Note that this starter does not include any pages by default.
This starter is meant as a minimal reproduction of a Gatsby project in order to facilitate recipe installation.
-
Create a Gatsby site.
Use the Gatsby CLI to create a new site, specifying the minimal starter.
# create a new Gatsby site using the minimal starter gatsby new my-site https://github.com/gatsbyjs/gatsby-starter-minimal
-
Start developing.
Navigate into your new site’s directory and start it up.
cd my-site/ gatsby develop
-
Open the code and start customizing!
Your site is now running at
http://localhost:8000
!