From 687850d71322dda2a052fcf9699a2af3e6739850 Mon Sep 17 00:00:00 2001 From: Alex Kyriakidis Date: Mon, 22 Feb 2016 04:42:47 +0200 Subject: [PATCH 1/3] add 'What are Components' section Added new section that describes Components --- src/guide/components.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/guide/components.md b/src/guide/components.md index fe873edd0f..c60d48f6fa 100644 --- a/src/guide/components.md +++ b/src/guide/components.md @@ -4,6 +4,10 @@ type: guide order: 12 --- +##What are Components? +Components are one of the most powerful features of Vue.js, helping you extend basic HTML elements and create reusable code. +At a high level, Components are markers on a DOM element that tell Vue.js compiler to attach a specified behavior to that DOM element, or even to transform the DOM element and its children. + ## Using Components ### Registration From 4523a9f2c534f154f3b3fa539d63a17b0e5cc0fc Mon Sep 17 00:00:00 2001 From: Alex Kyriakidis Date: Thu, 25 Feb 2016 05:58:13 +0200 Subject: [PATCH 2/3] Update components.md --- src/guide/components.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/guide/components.md b/src/guide/components.md index c60d48f6fa..8a93246c6e 100644 --- a/src/guide/components.md +++ b/src/guide/components.md @@ -5,8 +5,9 @@ order: 12 --- ##What are Components? -Components are one of the most powerful features of Vue.js, helping you extend basic HTML elements and create reusable code. -At a high level, Components are markers on a DOM element that tell Vue.js compiler to attach a specified behavior to that DOM element, or even to transform the DOM element and its children. +Components are one of the most powerful features of Vue.js, helping you extend basic HTML elements and create reusable code. At a high level, Components are custom elements that Vue.js’ compiler attaches a specified behavior, or even transforms the elements and their children. + +In some cases, a Component is indicated with a special attribute on an HTML element. ## Using Components From 204c89fe74e3422807080420c27d7db861c9a988 Mon Sep 17 00:00:00 2001 From: Alex Kyriakidis Date: Fri, 26 Feb 2016 04:01:39 +0200 Subject: [PATCH 3/3] fix grammar --- src/guide/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/components.md b/src/guide/components.md index 8a93246c6e..9cfd95a270 100644 --- a/src/guide/components.md +++ b/src/guide/components.md @@ -5,7 +5,7 @@ order: 12 --- ##What are Components? -Components are one of the most powerful features of Vue.js, helping you extend basic HTML elements and create reusable code. At a high level, Components are custom elements that Vue.js’ compiler attaches a specified behavior, or even transforms the elements and their children. +Components are one of the most powerful features of Vue.js, helping you extend basic HTML elements and create reusable code. At a high level, Components are custom elements that Vue.js’ compiler would attach specified behavior to, or even transform the elements and their children. In some cases, a Component is indicated with a special attribute on an HTML element.