Skip to content

Commit ea32293

Browse files
authored
fix: "コンポーネントの基本"の原文との差異及び誤りの修正 (#187)
1 parent faefa12 commit ea32293

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/guide/component-basics.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,12 @@ const App = {
190190

191191
```html
192192
<div id="blog-posts-events-demo">
193-
<div v-bind:style="{ fontSize: postFontSize + 'em' }">
194-
<blog-post v-for="post in posts" :key="post.id" :title="title"></blog-post>
193+
<div :style="{ fontSize: postFontSize + 'em' }">
194+
<blog-post
195+
v-for="post in posts"
196+
:key="post.id"
197+
:title="post.title"
198+
></blog-post>
195199
</div>
196200
</div>
197201
```

0 commit comments

Comments
 (0)