Przewikanie asynchroniczne routera vue
scrollBehavior (to, from, savedPosition) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(savedPosition || { x: 0, y: 0 })
}, 500)
})
}
Famous Ferret