Skip to content

Commit

Permalink
Completed module 1
Browse files Browse the repository at this point in the history
  • Loading branch information
butzopower committed Oct 4, 2018
1 parent ea51507 commit 7420dbd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<template>
<div id="app">
<img src="./assets/logo.png">
<hello-world></hello-world>
<book-list></book-list>
</div>
</template>

<script>
import HelloWorld from './components/HelloWorld';
import BookList from './components/BookList';
export default {
name: 'app',
components: {
HelloWorld,
BookList,
},
};
</script>
Expand Down
22 changes: 22 additions & 0 deletions src/components/BookList.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<div>
<h1>{{ title }}</h1>
</div>
</template>

<script>
export default {
name: "BookList",
data() {
return {
title: "All Books"
}
},
}
</script>

<style>
h1, h2 {
font-weight: normal;
}
</style>

0 comments on commit 7420dbd

Please sign in to comment.