Changed npm cmd for prereq (#161)

This commit is contained in:
Vincent Tam 2019-08-07 11:18:07 +02:00 committed by Hanzei
parent 6ef61decc2
commit 73fb5b0297

View file

@ -27,6 +27,14 @@ Developer-friendly:
- [autoprefixer](https://github.com/postcss/autoprefixer): `npm install -g autoprefixer`
- [postcss-cli](https://github.com/postcss/postcss-cli):`npm install -g postcss-cli`
Note: If you are using [Hugo as a snap app](https://snapcraft.io/hugo), the above two Node.js packages have to be [installed locally inside `exampleSite`](https://gohugo.io/hugo-pipes/postcss/).
```
cd exampleSite/
npm install autoprefixer
npm install postcss-cli
```
## Get the theme
Run from the root of your Hugo site:
```sh