1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-12 08:18:07 +00:00
bramw_baserow/web-frontend/pages/index.vue

16 lines
346 B
Vue

<template>
<div>
<h1>Baserow</h1>
<p>authenticated: {{ isAuthenticated }}</p>
<nuxt-link :to="{ name: 'login' }">Login</nuxt-link>
</div>
</template>
<script>
import { mapGetters } from 'vuex'
export default {
middleware: 'authenticated',
computed: { ...mapGetters({ isAuthenticated: 'auth/isAuthenticated' }) }
}
</script>