Skip to content

Commit df400db

Browse files
committed
Merge branch 'master' of github.com:vuejs/vuejs.org
2 parents 51e93a3 + 812d14d commit df400db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To use this constructor as a component, you need to **register** it with `Vue.co
2323
Vue.component('my-component', MyComponent)
2424
```
2525

26-
Note that Vue.js does not enforce the [W3C rules](http://www.w3.org/TR/custom-elements/#concepts) for custom tag-names (all-lowercase, must contain a hyphen) though following this convention is considered good practice.
26+
<p class="tip">Note that Vue.js does not enforce the [W3C rules](http://www.w3.org/TR/custom-elements/#concepts) for custom tag-names (all-lowercase, must contain a hyphen) though following this convention is considered good practice.</p>
2727

2828
Once registered, the component can now be used in a parent instance's template as a custom element, `<my-component>`. Make sure the component is registered **before** you instantiate your root Vue instance. Here's the full example:
2929

themes/vue/layout/index.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@
117117
<ul>
118118
<li>Extendable Data bindings</li>
119119
<li>Plain JS object models</li>
120-
<li>API that simply makes sense</li>
121-
<li>Build UI by composing components</li>
122-
<li>Mix &amp; matching small libraries</li>
120+
<li>APIs that simply make sense</li>
121+
<li>Building UIs by composing components</li>
122+
<li>Mixing &amp; matching small libraries</li>
123123
</ul>
124124
</div>
125125
<div id="footer">

0 commit comments

Comments
 (0)