joelhooks-com

(★ 106)

playing with static pages

File Explorer

  • .all-contributorsrc
  • .env.development
  • .env.production
  • .eslintrc.js
  • .gitignore
  • .kodiak.toml
  • .node-version
  • .nvmrc
  • .prettierrc
  • gatsby-browser.js
  • gatsby-config.js
  • gatsby-node.js
  • joelhooks-com.png
  • LICENSE
  • package.json
  • postcss.config.js
  • README.md
  • tailwind.config.js
  • yarn.lock

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

gatsby

View Details ▼

Static site generator for React.

gatsby new {{site_name}}

Create a new site:

gatsby new {{site_name}} {{url_of_starter_github_repo}}

Create a new site with a Gatsby `starter`:

gatsby develop

Start a live-reloading local development server:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

// repository documentation