diff --git a/README.org b/README.org index ea92785..a76b0be 100644 --- a/README.org +++ b/README.org @@ -24,7 +24,13 @@ Zig Chinese Community is dedicated to sharing and spreading the use of Zig language among Chinese users. #+end_quote -本网站使用 [[https://gohugo.io/][hugo]](extended 版本)与 [[https://www.docsy.dev/][docsy]] 主题进行构建, =hugo serve= 可进行本地预览。 +本网站使用 [[https://gohugo.io/][hugo]](extended 版本)与 [[https://www.docsy.dev/][docsy]] 主题进行构建。 +预览之前请确保已安装必要的 =postcss= 依赖 +#+begin_src bash +# install depends +npm i -D postcss postcss-cli autoprefixer +#+end_src + #+begin_src bash # For macOS brew install hugo @@ -36,3 +42,8 @@ sudo pacman -S hugo # Snap sudo snap install hugo #+end_src + +#+begin_src bash +# run server +hugo server +#+end_src