gatsby develop. You have an idea, you want to create an ecommerce theme for all the world to use. In the past, you would create a CSS class (perhaps .primary-button) with your custom styles and then use it whenever you want to apply those styles. Gatsby Part 1: Gatsby, the JAMstack and Serverless Architecture A series based on a Gatsby talk I gave at BrumJS, a Javascript Meetup in Birmingham, UK. You’re writing JSX, not pure HTML and JavaScript. src/pages/index.js) automatically become a page at /file-name and can include a GraphQL page query that makes the site data available as in your React component. The first part will focus on creating the website and integrating data from Cockpit. Layout components are for sections of a site that you want to share across multiple pages. For example, Gatsby sites will commonly have a layout component with a shared header and footer. You don’t need to hard refresh the page or restart the development server — your changes just appear. In this part of the tutorial, we will be covering the introduction to Gatsby and setting up Gatsby on your local machine. One of the coolest features that Next.js offers is API Routes. Note: This is part one in a series of posts about Gatsby.js and WordPress. Page Components (i.e. One of our JavaScript ecosystem developers, Khaled Garbaya has released a 4-part tutorial video series to help you build a “blazing fast” website with Gatsby and Contentful. In this first part of the tutorial, we will begin by setting up your Gatsby project, saving it to a repo, and setting up the basic layout for the application.