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

github.com/hivickylai/hugo-theme-sam.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictoria Drake <hello@victoria.dev>2020-10-16 04:50:19 +0300
committerVictoria Drake <hello@victoria.dev>2020-10-16 04:50:19 +0300
commit711415abb3f67c2d1562363886c33ae57d993af2 (patch)
tree6d7ddc022cfe52a5d62c65d2c8046bbc732eeb2d /README.md
parentbc98a0159e160a5a2d3f590597a6b5254c9aeee0 (diff)
Update Quick Start dependencies
- Add postcss which became a peerDependency of postcss-cli
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 18201cc..78cd2b3 100755
--- a/README.md
+++ b/README.md
@@ -39,10 +39,11 @@ Extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaSc
Error: Error building site: POSTCSS failed to transform "css/main.css"
```
-You can install the required packages using `npm`:
+You can install the required packages using `npm`. You'll need `postcss`, `postcss-cli`, and `autoprefixer`:
-- [postcss-cli](https://github.com/postcss/postcss-cli):`npm install -g postcss-cli`
-- [autoprefixer](https://github.com/postcss/autoprefixer): `npm install -g autoprefixer`
+```sh
+npm i -g postcss postcss-cli autoprefixer
+```
If you're new to Node.js and npm, [learn how to install and use npm here](https://www.npmjs.com/get-npm). It is recommended that you use a version manager for your Node.js installation, such as [`nvm`](https://github.com/nvm-sh/nvm).
@@ -50,8 +51,7 @@ Note: If you are using [Hugo as a snap app](https://snapcraft.io/hugo), the abov
```sh
cd exampleSite/
-npm install postcss-cli
-npm install autoprefixer
+npm i -g postcss postcss-cli autoprefixer
```
## 1. Get the theme