Nuxt/examples/auth-jwt/pages/secret.vue

15 lines
197 B
Vue

<template>
<div>
<h1>This is secret page.</h1>
<NuxtLink to="/">
Back home
</NuxtLink>
</div>
</template>
<script>
export default {
middleware: 'authenticated'
}
</script>