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

28 lines
433 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>
<NuxtLink to="/about/profile">
Profile
</NuxtLink>
2018-01-19 13:07:38 +00:00
</li>
<li>
<NuxtLink to="/about/contact">
Contact
</NuxtLink>
2018-01-19 13:07:38 +00:00
</li>
</ul>
<NuxtChild />
<NuxtLink to="/">
Home page
</NuxtLink>
2018-01-19 00:15:10 +00:00
</div>
</template>
<script>
export default {
2018-01-19 13:07:38 +00:00
transition: 'fade'
2018-01-19 00:15:10 +00:00
}
</script>