mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-21 19:42:52 +00:00
Changed npm cmd for prereq (#161)
This commit is contained in:
parent
6ef61decc2
commit
73fb5b0297
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue