[Nuxt 3 - router] keeps y position
Im struggling to fix nuxt and router. it sticks to current y pos on routing, even though i added
// router.options.ts
import type { RouterConfig } from '@nuxt/schema'
export default <RouterConfig>{
scrollBehavior () {
return { top: 0 }
}
}