-
Start developing.
Navigate into your new site’s directory and start it up.
gatsby develop
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.
-
Generate the document by markdown
Open
gatsby-node.js
, uncomment the codes belowDOCUMENT FEATURE
, and create markdowns insrc/docs
-
The Landing page
Edit the Landing page in
src/pages/index.tsx
-
Deployment
Run command to deploy to gh-pages
yarn deploy
-
Typing generate
Run developing server and run codegen command, the typing will be at
graphqlTypes.d.ts
.gatsby develop yarn codegen:typing