chore: add watch scripts.

This commit is contained in:
jaywcjlove
2022-09-29 23:09:45 +08:00
parent 5094fac68a
commit a612c2b971
4 changed files with 28 additions and 7 deletions

View File

@ -22,6 +22,7 @@ git clone git@github.com:jaywcjlove/reference.git
```shell
npm i # 安装依赖
npm run build # 编译输出 HTML
npm run start # 监听 md 文件编译输出 HTML
```
HTML 存放在仓库根目录下的 `dist` 目录中,将 `dist/index.html` 静态页面在浏览器中打开预览。