Nuxt/examples/custom-scroll-behavior/pages/about.vue

22 lines
387 B
Vue
Raw Normal View History

2018-01-19 00:15:10 +00:00
<template>
<div class="container">
<h1>About page</h1>
2018-01-19 13:07:38 +00:00
<ul>
<li>
<nuxt-link to="/about/profile">Profile</nuxt-link>
</li>
<li>
<nuxt-link to="/about/contact">Contact</nuxt-link>
</li>
</ul>
<nuxt-child/>
2018-01-19 00:15:10 +00:00
<nuxt-link to="/">Home page</nuxt-link>
</div>
</template>
<script>
export default {
2018-01-19 13:07:38 +00:00
transition: 'fade'
2018-01-19 00:15:10 +00:00
}
</script>