Skip to content

Commit

Permalink
Complete module4
Browse files Browse the repository at this point in the history
  • Loading branch information
butzopower committed Oct 4, 2018
1 parent 13361dd commit 8b467bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/BookList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
<div>
<h1>{{ title }}</h1>
<ul>
<li v-for="book in books">{{ book.title }} : {{ book.author }}</li>
<book-item v-for="book in books" :book="book"></book-item>
</ul>
</div>
</template>

<script>
import BookItem from './BookItem';
export default {
name: "BookList",
components: { BookItem },
data() {
return {
title: "All Books",
Expand Down

0 comments on commit 8b467bb

Please sign in to comment.