File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
content/ja/09.workspace/01.todo-list Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import Child from './Child.vue'
3232## 現在の実装の課題
3333
3434現在、プレイグラウンドのapp.vueに全てのコードがまとまっています。
35- このままでも問題ありませんが、コンポーネント化することでコードの役割分担が明確になり、保守性や再利用性がに向上します 。
35+ このままでも問題ありませんが、コンポーネント化することでコードの役割分担が明確になり、保守性や再利用性が向上します 。
3636
3737## チャレンジ1
3838
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ app.vueに定義されたtodosにTodoList.vueからアクセスすることが
115115` props ` と ` emit ` を使用して親子間でデータの受け渡しをできるようにしましょう:
116116
1171171 . ` TodoList.vue ` で` defineProps ` を使用して親から` todos ` を受け取れるようにしましょう
118- 2 . ` app.vue ` に ` <TodoList /> ` を配置して、todosを渡してみましょう。
118+ 2 . ` app.vue ` の ` <TodoList /> ` で ` v-bind ` ディレクティブを使用して親コンポーネントからtodosを渡してみましょう
1191193 . ` TodoList.vue ` で` defineEmits ` を使用してアイコンのクリックイベントを親に伝えられるようにしましょう
1201204 . ` app.vue ` で` TodoList.vue ` から受け取ったイベントを利用して` updateDone ` を実行しましょう
121121
You can’t perform that action at this time.
0 commit comments