mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-29 18:50:00 +08:00
update README
This commit is contained in:
parent
97f8d04623
commit
a9ac2ecdc8
21
README.md
21
README.md
@ -2,3 +2,24 @@
|
||||
|
||||
---
|
||||
|
||||
咩咩咩。
|
||||
|
||||
---
|
||||
|
||||
### 站点开发
|
||||
|
||||
在 dev 分支上进行开发。
|
||||
|
||||
#### 本地调试
|
||||
|
||||
```bash
|
||||
$ npm start
|
||||
```
|
||||
|
||||
然后访问 http://127.0.0.1:8000 。
|
||||
|
||||
#### 部署上线
|
||||
|
||||
```bash
|
||||
$ 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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user