Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/guide/migration/custom-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ In Vue 2, custom directives were created by using the hooks listed below to targ
Here’s an example of this:

```html
<p v-highlight="yellow">Highlight this text bright yellow</p>
<p v-highlight="'yellow'">Highlight this text bright yellow</p>
```

```js
Expand Down Expand Up @@ -68,7 +68,7 @@ const MyDirective = {
The resulting API could be used like this, mirroring the example from earlier:

```html
<p v-highlight="yellow">Highlight this text bright yellow</p>
<p v-highlight="'yellow'">Highlight this text bright yellow</p>
```

```js
Expand Down