create-nuxt-app
create-nuxt-app copied to clipboard
scrollBehavior not work...
I'm used
npx create-nuxt-app
I'm selected modules is vuetify, axios, pwa, eslint, ssr
in nuxt.config.js
router: { scrollBehavior: function (to, from, savedPosition) { console.log(to) console.log(from) console.log(savedPosition) return { x: 0, y: 0 } } }
not work console.log and others.. check scrollBehavior
Please provide more detail or a reproduction via codesandbox.