Skip to content

Commit 3679bab

Browse files
Merge pull request #5 from ZzqiZQute/patch-1
fix: typo
2 parents 56de50d + 40e3e4a commit 3679bab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.vitepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default {
7979
link: '/breaking-changes/listeners-removed'
8080
},
8181
{
82-
text: '$attrs includes class & class',
82+
text: '$attrs includes class & style',
8383
link: '/breaking-changes/attrs-includes-class-style'
8484
}
8585
]

src/breaking-changes/vnode-lifecycle-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ badges:
99

1010
In Vue 2, it was possible to use events to listen for key stages in a component's lifecycle. These events had names that started with the prefix `hook:`, followed by the name of the corresponding lifecycle hook.
1111

12-
In Vue 3, this prefix has been changed to `vnode-`. In addition, these events are now available for HTML elements as well as components.
12+
In Vue 3, this prefix has been changed to `vue:`. In addition, these events are now available for HTML elements as well as components.
1313

1414
## 2.x Syntax
1515

0 commit comments

Comments
 (0)