-
Notifications
You must be signed in to change notification settings - Fork 3.4k
add 'What are Components' section #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added new section that describes Components
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to use "custom elements" instead of "markers on a DOM element" here - the latter sounds like directive instead of components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"custom elements" sounds better but I gone with "markers on DOM element" for cases like <tr is="my-component"></tr>
Maybe "custom elements or special attributes" is better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that sounds good
I think I like it better now. |
@@ -4,6 +4,11 @@ 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 custom elements that Vue.js’ compiler attaches a specified behavior, or even transforms the elements and their children. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor grammar issue: probably should be "Components are custom elements that Vue.js’ compiler would attach specified behavior to"
I changed the second sentence. |
add 'What are Components' section
* blog(_posts/*.md)もlintの対象とする * textlint指摘事項の修正
Fix new typos 06-12
Added new section that describes Components