You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: src/guide/component-custom-events.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ this.$emit('myEvent')
23
23
24
24
## 定义自定义事件
25
25
26
+
<VideoLessonhref="https://vueschool.io/lessons/defining-custom-events-emits?friend=vuejs"title="Learn how to define which events a component can emit with Vue School">在 Vue School 上观看关于定义自定义事件的免费视频。</VideoLesson>
<VideoLessonhref="https://www.vuemastery.com/courses/vue-3-essentials/why-the-composition-api"title="Learn how Composition API works in depth with Vue Mastery">在 Vue Mastery 上观看关于组合 API 的免费视频。</VideoLesson>
<VideoLessonhref="https://www.vuemastery.com/courses/vue-3-essentials/setup-and-reactive-references"title="Learn how setup works with Vue Mastery">观看 Vue Mastery 上的免费 setup 视频。</VideoLesson>
73
+
74
+
70
75
新的 `setup` 组件选项在**创建组件之前**执行,一旦 `props` 被解析,并充当合成 API 的入口点。
<VideoLessonhref="https://www.vuemastery.com/courses/vue-3-reactivity/vue3-reactivity"title="Learn how how reactivity works in depth with Vue Mastery">在 Vue Mastery 上免费观看关于深入响应性原理的视频。</VideoLesson>
0 commit comments