File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,8 @@ app.component('todo-item', {
260
260
<ol >
261
261
<!--
262
262
各 todo-item にその内容を表す todo オブジェクトを指定することで、
263
- 内容が動的に変化します。後述する "key" も各コンポーネントに
263
+ 内容が動的に変化します。
264
+ 後述する "key" も各コンポーネントに
264
265
指定する必要があります。
265
266
-->
266
267
<todo-item
@@ -315,7 +316,7 @@ app.mount('#todo-list-app')
315
316
316
317
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 ` という特別な属性を実装しています。しかしながら、いくつか重要な違いがあります:
317
318
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 コンポーネントはネイティブなカスタム要素内に含めることもできます。
319
320
320
321
[ // ] : # ' TODO: link to compatibility build '
321
322
You can’t perform that action at this time.
0 commit comments