-*- mode: org; mode: visual-line; -*-
Catch-up: top-level node_modules
for the initial (local) Gatsby for creating the site; then another node_modules
in the actual site directory via gatsby new
. At this point the initial root node_modules
(and package-lock.json
) can probably be removed.
Installing Gatsby via:
npm install gatsby-cli
Keeping it local, running via node_modules/.bin/gatsby
as required.
New site with:
gatsby new gatsby-site
On a new checkout, will need an npm install
in gatsby-site
to pull packages in. (Possibly also in the directory above, if the gatsby-cli
install is local.)
Data example. Bring in some styling:
npm install gatsby-plugin-typography typography react-typography typography-theme-kirkham gatsby-plugin-emotion @emotion/core
(Omitting --save
for now.)