Skip to content

Commit a20f1ed

Browse files
committed
docs: use ut install for local setup
1 parent 94addbe commit a20f1ed

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default ({ target }: { target: HTMLDivElement | null }) => {
6363
Run the local dumi site:
6464

6565
```bash
66-
npm install
66+
ut install
6767
npm start
6868
```
6969

@@ -90,7 +90,7 @@ The hook observes the provided target element or element array with the same cal
9090
## Development
9191

9292
```bash
93-
npm install
93+
ut install
9494
npm start
9595
npm test
9696
npm run tsc

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default ({ target }: { target: HTMLDivElement | null }) => {
6363
运行本地 dumi 站点:
6464

6565
```bash
66-
npm install
66+
ut install
6767
npm start
6868
```
6969

@@ -90,7 +90,7 @@ useMutateObserver(target, callback, options);
9090
## 本地开发
9191

9292
```bash
93-
npm install
93+
ut install
9494
npm start
9595
npm test
9696
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)