From 64b9ecc74701fe09172e014ff4a18b4fa820d300 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Fri, 24 Aug 2018 17:30:27 -0600 Subject: [PATCH] Spell out the npm command for installing PostCSS Also make a special note about the need to install PostCSS locally for Hugo Snap. --- content/en/hugo-pipes/postcss.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/en/hugo-pipes/postcss.md b/content/en/hugo-pipes/postcss.md index a0ecc6d35..a0a673798 100755 --- a/content/en/hugo-pipes/postcss.md +++ b/content/en/hugo-pipes/postcss.md @@ -27,7 +27,9 @@ The resource will be processed using the project's or theme's own `postcss.confi ``` {{% note %}} -Hugo Pipe's PostCSS requires `postcss-cli` javascript package to be installed on the environement along with any PostCSS plugin used. +Hugo Pipe's PostCSS requires the `postcss-cli` JavaScript package to be installed in the environment (`npm install -g postcss-cli`) along with any PostCSS plugin(s) used (e.g., `npm install -g autoprefixer`). + +If you are using the Hugo Snap package, PostCSS and plugin(s) need to be installed locally within your Hugo site directory, e.g., `npm install postcss-cli` without the `-g` flag. {{% /note %}} ### Options