From 4f7fdaa3490f86901f5ec2a2d86c47487f174873 Mon Sep 17 00:00:00 2001 From: Rolf Haug Date: Thu, 17 Sep 2020 13:36:56 +0200 Subject: [PATCH 1/2] emits option lesson --- src/guide/component-custom-events.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/guide/component-custom-events.md b/src/guide/component-custom-events.md index 1fde36ff87..a7a4fc717d 100644 --- a/src/guide/component-custom-events.md +++ b/src/guide/component-custom-events.md @@ -23,6 +23,8 @@ For these reasons, we recommend you **always use kebab-case for event names**. ## Defining Custom Events +
Learn how to define emitted events with a free lesson on Vue School
+ Emitted events can be defined on the component via the `emits` option. ```js From c20ad5d1b8ea2f6b862f5bb9c6dd1991ac0580a6 Mon Sep 17 00:00:00 2001 From: Rolf Haug Date: Thu, 17 Sep 2020 13:37:13 +0200 Subject: [PATCH 2/2] teleport lesson --- src/guide/teleport.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/guide/teleport.md b/src/guide/teleport.md index 6a94a44223..261152a0b0 100644 --- a/src/guide/teleport.md +++ b/src/guide/teleport.md @@ -1,5 +1,7 @@ # Teleport + + Vue encourages us to build our UIs by encapsulating UI and related behavior into components. We can nest them inside one another to build a tree that makes up an application UI. However, sometimes a part of a component's template belongs to this component logically, while from a technical point of view, it would be preferable to move this part of the template somewhere else in the DOM, outside of the Vue app.