-
vue12(vue-router #,/#/ 제거하기)JS/vue.js 2022. 3. 16. 14:17
history 모드를 사용한다.
const router = new VueRouter({ mode: 'history', routes: { ... } });
'JS > vue.js' 카테고리의 다른 글
vue14(computed,watch) (0) 2022.03.18 vue13(vuex) (0) 2022.03.16 vue11(redirect 리다이렉트 ) (0) 2022.03.15 에러6(.env에러/ELIFECYCLE/this is probably not a problem with npm) (0) 2022.03.15 vue10(동적 컴포넌트 component tag / 컴포넌트 갈아끼우기) (0) 2022.03.15