Skip to content

Commit 0db7433

Browse files
author
那里好脏不可以
authored
docs: typo (#979)
1 parent 1a05a1d commit 0db7433

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ app1.component('Foo', Foo) // equivalent to Vue.component('Foo', Foo)
399399
app1.use(VueRouter) // equivalent to Vue.use(VueRouter)
400400

401401
const app2 = createApp(RootComponent2)
402-
app2.component('Bar', Bar) // equivalent to Vue.use('Bar', Bar)
402+
app2.component('Bar', Bar) // equivalent to Vue.component('Bar', Bar)
403403
```
404404

405405
</details>

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ app1.component('Foo', Foo) // 相当于 Vue.component('Foo', Foo)
409409
app1.use(VueRouter) // 相当于 Vue.use(VueRouter)
410410

411411
const app2 = createApp(RootComponent2)
412-
app2.component('Bar', Bar) // 相当于 Vue.use('Bar', Bar)
412+
app2.component('Bar', Bar) // 相当于 Vue.component('Bar', Bar)
413413
```
414414

415415
</details>

0 commit comments

Comments
 (0)