-
Install dependencies
yarn install
-
Start developing.
Navigate into your new siteβs directory and start it up.
cd gatsby-typescript-starter 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.Open the
gatsby-typescript-starter
directory in your code editor of choice and editsrc/pages/index.ts
. Save your changes and the browser will update in real time! -
Typechecking
yarn typecheck
A quick look at the top-level files and directories you'll see in a Gatsby project.
.
βββ node_modules
βββ src
βββ .gitignore
βββ .prettierrc
βββ gatsby-browser.js
βββ gatsby-config.js
βββ gatsby-node.js
βββ gatsby-ssr.js
βββ LICENSE
βββ package.json
βββ README.md
βββ tsconfig.json
βββ yarn.lock