Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Tam <VincentTam@users.noreply.github.com>2019-08-07 12:18:07 +0300
committerHanzei <16541325+hanzei@users.noreply.github.com>2019-08-07 12:18:07 +0300
commit73fb5b02972621dae9e91e47afeaa748eaec0dd7 (patch)
tree0094763c8df6bce6f80858149c4d4f12c7911d04 /README.md
parent6ef61decc2fb9dea171df75713b22dc8dd22a28b (diff)
Changed npm cmd for prereq (#161)
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 413fabc..0c29751 100644
--- a/README.md
+++ b/README.md
@@ -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