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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-05-27 19:22:58 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-05-27 19:22:58 +0300
commit51714dd1ca8d3368d5e24f88e6f37af5df71bf24 (patch)
treeddbce94982c70d8fc5ca00e42f18c077ee6756b0 /README.md
parent69d1aa2b864083627fc6735dea43820fe73dbf80 (diff)
docs: improve README
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5f2455f..a62efea 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,20 @@ git init
git submodule add https://github.com/wangchucheng/hugo-eureka.git themes/eureka
```
-Then, add the theme to the site configuration.
+If you want to customize and recompile css file, make sure to install `postcss-cli` and `autoprefixer` globally. Because Hugo Pipe’s PostCSS requires it, which you can read Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/).
+
+```shell
+npm install -g postcss-cli
+npm install -g autoprefixer
+```
+
+Then, install the necessary node packages in `themes/eureka`.
+
+```shell
+npm install
+```
+
+Finally, add the theme to the site configuration.
```
theme = "eureka"