Created
October 17, 2018 21:39
-
-
Save malgamves/3ad4b9c80b536bdff208a17097cc8ae4 to your computer and use it in GitHub Desktop.
Vue GraphQL App.vue file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app" class="background"> | |
<div > | |
<h1> Books I've Read</h1> | |
<book-list></book-list> | |
</div> | |
</div> | |
</template> | |
<script> | |
import BookList from './components/BookList' | |
export default { | |
name: 'app', | |
components: { | |
BookList | |
} | |
} | |
</script> | |
<style> | |
.background { | |
background: #828282; | |
margin: auto; | |
text-align: center; | |
border-radius: 10px; | |
padding: 2%; | |
width: 50%; | |
height: 50%; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment