Home > AI > Frontend > Gatsby >

Intro

Step 1: install

$ npm install -g gatsby-cli
$ gatsby --version

Step 2: the simplest project

$ gatsby new my-web
$ cd my-web
$ npm run develop // start the applicatin
$ gatsby develop (or)

Now you can see

You can now view my-first-gatsby-site in the browser.
⠀
  http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and
schema
⠀
  http://localhost:8000/___graphql

generate static sites

$ gatsby build

Leave a Reply