router에 scrollBehavior() 함수를 사용하여 위치지정.
const router = new VueRouter({ mode: "history", base: process.env.BASE_URL, scrollBehavior() { return { x: 0, y: 0 }; }, routes, });