Skip to content

Commit 30659a5

Browse files
emilebereddyerburgh
authored andcommitted
docs: fix mount and shallow usage description (#339)
1 parent 822c53e commit 30659a5

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

docs/en/api/mount.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ See [options](options.md)
1313

1414
- **Usage:**
1515

16-
Returns [`Wrapper`](wrapper/README.md) of first DOM node or Vue component matching selector.
17-
18-
Use any valid [selector](selectors.md).
16+
Creates a [`Wrapper`](wrapper/README.md) that contains the mounted and rendered Vue component.
1917

2018
**Without options:**
2119

docs/en/api/shallow.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ See [options](./options.md)
2222

2323
- **Usage:**
2424

25-
Returns [`Wrapper`](./wrapper/README.md) of first DOM node or Vue component matching selector.
26-
27-
Stubs all child components.
28-
29-
Use any valid [selector](./selectors.md).
25+
Like [`mount`](mount.md), it creates a [`Wrapper`](wrapper/README.md) that contains the mounted and rendered Vue component, but with stubbed child components.
3026

3127
**Without options:**
3228

0 commit comments

Comments
 (0)