mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-12 08:18:07 +00:00
16 lines
346 B
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>
|