Gatsby site from scratch #1: Creating a project without a starter template

preview_player
Показать описание
Build a Gatsby site fresh, without a starter or boilerplate, to get more familiar with what Gatsby requires for a minimal site.

0:00 - Introduction
1:55 - Creating the project
4:29 - Local server running without pages
5:16 - Creating the first page
7:00 - Using the createPages API for manual page creation
9:00 - Creating the template for createPage to use
11:11 - Creating a data file for dynamic page generation
13:34 - Using Context to pass data to our template
16:34 - Adding the build/serve scripts for a production version
17:50 - Using Gatsby's documentation to learn more about the API

Here is the Gatsby Docs reference I showed for createPages:

Here is the next video in the series:

Follow Jimmy Cleveland's doings:

#gatsbyjs #staticsite #reactjs
Рекомендации по теме
Комментарии
Автор

There's so much more depth here than a basic docs file. Really cool having your explanations from scratch. Thanks for walking through adding scripts for developing, going through the dependency error, and also including tips like how to quickly add a new file with ancestry in VSCode

andrewsorenson
Автор

background and font are really difficult to see (size & color)

alexhungerford
Автор

I always wanted to learn to code from John Wick

barcannon
Автор

I don't understand what is going on through this tutorial. I think a person needs a lot more React experience and knowing how to set up the develop environment before tackling this.

williamweisz