Skip to content

Commit 7f7d9b9

Browse files
committed
fix: match lines in the original
1 parent 9daa352 commit 7f7d9b9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/guide/component-props.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ props: {
102102

103103
オブジェクトのすべてのプロパティをコンポーネントのプロパティ(props)として渡したい場合は、引数なしで `v-bind` を使うことができます (`:prop-name` の代わりに `v-bind`を使用)。例えば、`post` オブジェクトが与えられたとします。
104104

105-
106105
```js
107106
post: {
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

253251
HTML の属性名は大文字小文字を区別しないので、ブラウザは全ての大文字を小文字として解釈します。つまり、 DOM(HTML) テンプレート内においては、キャメルケースのプロパティ名はケバブケース(ハイフンで区切ったもの)を使う必要があります。
254252

255-
256253
```js
257254
const app = Vue.createApp({})
258255

0 commit comments

Comments
 (0)