Skip to content

Commit c608827

Browse files
authored
Update introduction.md (#392)
vuejs/docs@77c2c01
1 parent 73903d0 commit c608827

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/guide/introduction.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ app.component('todo-item', {
260260
<ol>
261261
<!--
262262
各 todo-item にその内容を表す todo オブジェクトを指定することで、
263-
内容が動的に変化します。後述する "key" も各コンポーネントに
263+
内容が動的に変化します。
264+
後述する "key" も各コンポーネントに
264265
指定する必要があります。
265266
-->
266267
<todo-item
@@ -315,7 +316,7 @@ app.mount('#todo-list-app')
315316

316317
Vue のコンポーネントが [Web Components 仕様](https://www.w3.org/wiki/WebComponents/) の一部である **カスタム要素 (Custom Elements)** によく似ていることに気付いたかもしれません。これは Vue のコンポーネント構文はその仕様を手本にしているためです。例えば、Vue コンポーネントは [Slot API](https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Slots-Proposal.md)`is` という特別な属性を実装しています。しかしながら、いくつか重要な違いがあります:
317318

318-
1. Web Components の仕様は確定しましたが、全てのブラウザにネイティブ実装されているわけではありません。Safari 10.1 以上、Chrome 54 以上、Firefox 63 以上が Web Components をネイティブでサポートしています。一方、Vue コンポーネントは、サポートされる全てのブラウザ(互換ビルドでは IE11 以上)で同じ動作をします。必要があれば、Vue コンポーネントはネイティブなカスタム要素内に含めることもできます。
319+
1. Web Components の仕様は確定しましたが、全てのブラウザにネイティブ実装されているわけではありません。Safari 10.1 以上、Chrome 54 以上、Firefox 63 以上が Web Components をネイティブでサポートしています。一方、Vue コンポーネントは、サポートされる全てのブラウザ(Internet Explorer 11を除く - 詳細は [こちら](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0038-vue3-ie11-support.md) を確認してください)で同じ動作をします。必要があれば、Vue コンポーネントはネイティブなカスタム要素内に含めることもできます。
319320

320321
[//]: # 'TODO: link to compatibility build'
321322

0 commit comments

Comments
 (0)