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:
authorVictoria Drake <24644237+victoriadrake@users.noreply.github.com>2020-10-16 04:59:33 +0300
committerGitHub <noreply@github.com>2020-10-16 04:59:33 +0300
commit76ec679216de68c6c4ded3866eec3795266c68e2 (patch)
tree25e562eeef800a0ac29c531333d18e8e6beaaac1 /README.md
parent00fd8477fe530dc31d05374e7e3bcdcf7415af31 (diff)
Update Getting Started dependencies
- Add postcss which became a peerDependency of postcss-cli
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index ecc7de4..7c41dfb 100644
--- a/README.md
+++ b/README.md
@@ -27,10 +27,11 @@ Developer-friendly:
- Requires extended version of [Hugo](https://gohugo.io/getting-started/installing/) (latest version recommended)
-To make changes to the theme CSS, extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaScript packages to compile the styles. You can install them using `npm`:
+To make changes to the theme CSS, extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaScript packages to compile the styles. You'll need `postcss`, `postcss-cli`, and `autoprefixer` which you can install using `npm`:
-- [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
+```
[Learn how to install and use npm here](https://www.npmjs.com/get-npm).
@@ -38,8 +39,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
```
If you see an error message like: