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

16 lines
322 B
Vue
Raw Normal View History

2016-12-07 16:03:52 +00:00
<template>
<div>
<h1>Super secret page</h1>
2017-07-08 16:14:40 +00:00
<p>If you try to access this URL not connected, you will see the error page telling your that you are not connected.</p>
<NuxtLink to="/">
Back to the home page
</NuxtLink>
2016-12-07 16:03:52 +00:00
</div>
</template>
<script>
export default {
2017-02-03 14:09:27 +00:00
middleware: 'auth'
2016-12-07 16:03:52 +00:00
}
</script>