@ -2,3 +2,24 @@
---
咩咩咩。
### 站点开发
在 dev 分支上进行开发。
#### 本地调试
```bash
$ npm start
```
然后访问 http://127.0.0.1:8000 。
#### 部署上线
$ npm run deploy
@ -11,11 +11,13 @@
"url": "https://github.com/ant-design/ant-design.github.io/issues"
},
"dependencies": {
"gh-pages-cli": "~0.2.0",
"nico": "*"
"scripts": {
"build": "npm run clean && nico build",
"start": "npm run clean && nico server",
"clean": "rm -rf _site"
"clean": "rm -rf _site",
"deploy": "npm run build && gh-pages -d _site -b master"
}