From 73fb5b02972621dae9e91e47afeaa748eaec0dd7 Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Wed, 7 Aug 2019 11:18:07 +0200 Subject: Changed npm cmd for prereq (#161) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3