Skip to content

Commit 85643da

Browse files
committed
add vue3 quickstart instruction
1 parent de04fcf commit 85643da

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/vue-testing-library/intro.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ In short, Vue Testing Library does three things:
2020

2121
## Quickstart
2222

23+
If using Vue2
2324
```
2425
npm install --save-dev @testing-library/vue
2526
```
27+
If using Vue3
28+
```
29+
npm install --save-dev @testing-library/vue@next
30+
```
2631

2732
You can now use all of `DOM Testing Library`'s `getBy`, `getAllBy`, `queryBy`
2833
and `queryAllBy` commands. See here the

0 commit comments

Comments
 (0)