export default new Router({
routes,
scrollBehavior(to, from, savedPosition) { //to top
return { x: 0, y: 0 }
}
})
/* css */
#app{
min-height:100%;
}
export default new Router({
routes,
scrollBehavior(to, from, savedPosition) { //to top
return { x: 0, y: 0 }
}
})
/* css */
#app{
min-height:100%;
}