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

11 lines
404 B
Vue
Raw Normal View History

2018-01-19 00:15:10 +00:00
<template>
<div class="container">
<h1>Home page</h1>
<p><nuxt-link to="/about">About page</nuxt-link></p>
<p><nuxt-link to="/users">Lists of users</nuxt-link></p>
<p><nuxt-link to="/long">Long page</nuxt-link></p>
2018-01-19 13:07:38 +00:00
<p><nuxt-link to="/long#anchor">Long page #anchor</nuxt-link></p>
<div class="spacer" style="width: 100%; height: 3000px; background: grey"/>
2018-01-19 00:15:10 +00:00
</div>
</template>