Skip to content

Commit 169c44d

Browse files
committed
docs: use ut install for local setup
1 parent a360fe4 commit 169c44d

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
<p align="center">English | <a href="./README.zh-CN.md">简体中文</a></p>
1717

18-
1918
## Highlights
2019

2120
- Controlled and uncontrolled rating values.
@@ -55,7 +54,7 @@ export default () => (
5554
Run the local dumi site:
5655

5756
```bash
58-
npm install
57+
ut install
5958
npm start
6059
```
6160

@@ -101,7 +100,7 @@ Then open `http://localhost:8000`.
101100
## Development
102101

103102
```bash
104-
npm install
103+
ut install
105104
npm start
106105
npm test
107106
npm run tsc

README.zh-CN.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
<p align="center"><a href="./README.md">English</a> | 简体中文</p>
1717

18-
1918
## 特性
2019

2120
- 受控和非受控额定值。
@@ -55,7 +54,7 @@ export default () => (
5554
运行本地 dumi 站点:
5655

5756
```bash
58-
npm install
57+
ut install
5958
npm start
6059
```
6160

@@ -93,15 +92,15 @@ npm start
9392

9493
### Ref
9594

96-
| 名称 | 类型 | 说明 |
97-
| ------- | ---------- | ----------------------------- |
95+
| 名称 | 类型 | 说明 |
96+
| ------- | ---------- | ------------------ |
9897
| `blur` | () => void | 移除评分组件焦点。 |
99-
| `focus` | () => void | 聚焦评分组件。 |
98+
| `focus` | () => void | 聚焦评分组件。 |
10099

101100
## 本地开发
102101

103102
```bash
104-
npm install
103+
ut install
105104
npm start
106105
npm test
107106
npm run tsc

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"framework": "umijs",
3-
"installCommand": "npm install",
3+
"installCommand": "ut install",
44
"buildCommand": "npm run build",
55
"outputDirectory": "docs-dist"
66
}

0 commit comments

Comments
 (0)