Skip to content

Instantly share code, notes, and snippets.

@N0taN3rd
Created April 26, 2018 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save N0taN3rd/141a291f953ef5141853320798200b39 to your computer and use it in GitHub Desktop.
Save N0taN3rd/141a291f953ef5141853320798200b39 to your computer and use it in GitHub Desktop.
Lets build a site using gatsbyjs

Lets build a site using gatsbyjs!

Requirements

You can get nodejs through

Your favorite node package manager

  • npm (included with node)
  • yarn (I will be using)

Your favorite editor

yarn/npm commands

new bare project

  • yarn init
  • npm init

add dependency

  • yarn add <dep>
  • npm -i <dep>

add dev dependency

  • yarn add -D <dep>
  • npm -i -D <dep>

run script listed in package.json

  • yarn run <script-name>
  • npm run <script-name>

Links to stuff used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment