File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ props: {
102102
103103オブジェクトのすべてのプロパティをコンポーネントのプロパティ(props)として渡したい場合は、引数なしで ` v-bind ` を使うことができます (` :prop-name ` の代わりに ` v-bind ` を使用)。例えば、` post ` オブジェクトが与えられたとします。
104104
105-
106105``` js
107106post: {
108107 id: 1 ,
@@ -198,8 +197,7 @@ app.component('my-component', {
198197 // デフォルト値つきの関数型
199198 propG: {
200199 type: Function ,
201- // オブジェクトや配列のデフォルトとは異なり、これはファクトリ関数ではありません。
202- // これは、デフォルト値としての関数を取り扱います。
200+ // オブジェクトや配列のデフォルトとは異なり、これはファクトリ関数ではありません。これは、デフォルト値としての関数を取り扱います。
203201 default : function () {
204202 return ' Default function'
205203 }
@@ -252,7 +250,6 @@ app.component('blog-post', {
252250
253251HTML の属性名は大文字小文字を区別しないので、ブラウザは全ての大文字を小文字として解釈します。つまり、 DOM(HTML) テンプレート内においては、キャメルケースのプロパティ名はケバブケース(ハイフンで区切ったもの)を使う必要があります。
254252
255-
256253``` js
257254const app = Vue .createApp ({})
258255
You can’t perform that action at this time.
0 commit comments