페이지 이동시 스크롤 최상위

팡태(❁´◡`❁)·2022년 5월 13일
0

프론트

목록 보기
11/20

routes/index.js

const router = createRouter({
    history : createWebHashHistory(),
    routes : routes,
    scrollBehavior(){
        return { top: 0 }
    },
});
  

0개의 댓글