title: Nuxt - different scrollToTop behaviour depending on which page you come from
body: <p>I have a 'page' that contains router links to the same page, but with different parameters. I know about the scrollToTop attribute that you can use to determine whether upon entering said page, the page will start in top scroll position.</p>
  <p>However, in my case, I would like different scrolling behavior depending on where you come from.
  I'd like the scrollToTop to not be triggered if you enter the page by a link from the page itself.</p>
  <p><a href="https://i.stack.imgur.com/pAggJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pAggJ.png" alt="pages" /></a></p>
  <p>So lets say the page in question is one.vue and one.vue contains router links to one.vue itself, with different parameters. If I click a router link on one.vue, that links to one.vue, I'd like to <strong>not</strong> scrollToTop, but in all other cases I do want to scrollToTop. How would I achieve such a feat?</p>