diff options
author | Vincent Tam <VincentTam@users.noreply.github.com> | 2019-08-07 12:18:07 +0300 |
---|---|---|
committer | Hanzei <16541325+hanzei@users.noreply.github.com> | 2019-08-07 12:18:07 +0300 |
commit | 73fb5b02972621dae9e91e47afeaa748eaec0dd7 (patch) | |
tree | 0094763c8df6bce6f80858149c4d4f12c7911d04 /README.md | |
parent | 6ef61decc2fb9dea171df75713b22dc8dd22a28b (diff) |
Changed npm cmd for prereq (#161)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |