Skip to content

Commit

Permalink
Complete module3
Browse files Browse the repository at this point in the history
  • Loading branch information
butzopower committed Oct 4, 2018
1 parent b86cb22 commit 13361dd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
17 changes: 17 additions & 0 deletions src/components/BookItem.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<li>{{ book.title }} : {{ book.author }}</li>
</template>

<script>
export default {
name: 'BookItem',
props: ['book']
};
</script>

<style>
li {
display: block;
margin: 0 10px;
}
</style>
5 changes: 0 additions & 5 deletions src/components/BookList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,4 @@
list-style-type: none;
padding: 0;
}
li {
display: block;
margin: 0 10px;
}
</style>

0 comments on commit 13361dd

Please sign in to comment.