Skip to content

Commit fe5fd0b

Browse files
committed
Add another subheading to examples section
1 parent 7bae5c8 commit fe5fd0b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,26 @@
3838
<h2>Table of Contents</h2>
3939

4040
- [Installation](#installation)
41-
- [Examples](#examples)
41+
- [A simple example](#a-simple-example)
42+
- [More examples](#more-examples)
4243
- [Docs](#docs)
4344
- [License](#license)
4445
- [Contributors](#contributors)
4546

4647
## Installation
4748

48-
This module is distributed via npm which is bundled with node and
49-
should be installed as one of your project's `devDependencies`:
49+
This module is distributed via npm and should be installed as one of your project's `devDependencies`:
5050

5151
```
5252
npm install --save-dev @testing-library/vue
5353
```
5454

55+
This library has `peerDependencies` listings for `Vue` and `vue-template-compiler`.
56+
5557
You may also be interested in installing `jest-dom` so you can use
5658
[the custom Jest matchers](https://github.com/gnapse/jest-dom#readme).
5759

58-
## Examples
60+
## A simple example
5961

6062
```html
6163
<!-- TestComponent.vue -->
@@ -104,6 +106,7 @@ test('increments value on click', async () => {
104106
})
105107
```
106108

109+
### More examples
107110

108111
You'll find examples of testing with different situations and popular libraries in
109112
[the test directory][test-directory].

0 commit comments

Comments
 (0)