mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
20 lines
251 B
Vue
20 lines
251 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<NuxtLink to="/scroll-to-top/watch-query-true?test=1">
|
||
|
go to the same page
|
||
|
</NuxtLink>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
watchQuery: ['test']
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
div {
|
||
|
margin-top: 1500px;
|
||
|
}
|
||
|
</style>
|