diff options
author | Wang Chucheng <ccwangchn@gmail.com> | 2020-05-27 19:22:58 +0300 |
---|---|---|
committer | Wang Chucheng <ccwangchn@gmail.com> | 2020-05-27 19:22:58 +0300 |
commit | 51714dd1ca8d3368d5e24f88e6f37af5df71bf24 (patch) | |
tree | ddbce94982c70d8fc5ca00e42f18c077ee6756b0 /README.md | |
parent | 69d1aa2b864083627fc6735dea43820fe73dbf80 (diff) |
docs: improve README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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" |