Last active
April 13, 2020 10:22
-
-
Save Serhansolo/a4515fbbbf525180fe79de28185fc0cd to your computer and use it in GitHub Desktop.
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"> | |
<navbar /> | |
<section v-if="isUserAuth" class="section"> | |
<div class="columns"> | |
<div class="column is-half is-offset-one-quarter"> | |
Welcome {{ getUser.email }} | |
</div> | |
</div> | |
</section> | |
<section class="section"> | |
<div class="container is-desktop"> | |
<router-view /> | |
</div> | |
</section> | |
</div> | |
</template> | |
<script> | |
import Navbar from "./components/Navbar"; | |
import { mapGetters } from "vuex"; | |
export default { | |
components: { Navbar }, | |
data() { | |
return { | |
kaas: true | |
}; | |
}, | |
computed: { | |
...mapGetters(["getUser", "isUserAuth"]) | |
} | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment