I want to keep the scroll position when switching to a new route in the Nuxt project. As a default, Nuxt sets the scroll position to the top when every route changes. I tried to customize scroll behavior in nuxt.config.js by returning false, but it didn't work.
2.1m questions
2.1m answers
60 comments
56.9k users