From 51714dd1ca8d3368d5e24f88e6f37af5df71bf24 Mon Sep 17 00:00:00 2001 From: Wang Chucheng Date: Thu, 28 May 2020 00:22:58 +0800 Subject: docs: improve README --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'README.md') 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" -- cgit v1.2.3