mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
14 lines
312 B
Vue
14 lines
312 B
Vue
<template>
|
|
<div>
|
|
<h1>Super secret page</h1>
|
|
<p>If you try to access this URL not connected, you will be redirected to the home page (server-side or client-side)</p>
|
|
<nuxt-link to="/">Back to the home page</nuxt-link>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
middleware: 'auth'
|
|
}
|
|
</script>
|