## Notes ```javascript <NuxtLink :to="{ path: '/', hash: 'my-id' }"> <span>Click to scroll</span> </NuxtLink> ``` ```javascript <section id="my-id"> <p>Scroll destination</p> </section> ``` ## Smooth Scroll Behavior However the content just jumps to the HTML element with the corresponding ID. In [[Nuxt.js|Nuxt]], you need to add additional configuration to enable smooth-scrolling behavior. ```javascript // nuxt.config.ts export default defineNuxtConfig({ router: { options: { scrollBehaviorType: 'smooth' } } }) ```