The dev.to project with GatsbyJS-6

Image for post
Image for post
Photo by Yancy Min on Unsplash

Welcome to part-6 of the series. You can create part-5 here.

In this part we will, first start with our GraphQL queries. So, head over to http://localhost:8000/___graphql but make sure gatsby develop is running in the terminal.

Here, we will first check our allMdx query by checking the totalCount. And it returns the right count.

Image for post
Image for post
allMdx

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook. You can find more details about it here.

Image for post
Image for post

We can open the console and check the result.

console

This completes part-6 of the series. You can find part-7 here.

You can find the code for the same in this github repo.

Written by

UI Lead- ReactJS, JavaScript and everything in-between.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store