Commit 47d8d927 authored by JunHyung An's avatar JunHyung An
Browse files

Change router history `Web` to `WebHash`

parent 76c5e120
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// Vuex 때 처럼 create* 함수를 제공한다.
import { createWebHistory, createRouter } from 'vue-router';
import { createWebHashHistory, createRouter } from 'vue-router';

import NotFound from './views/NotFound';

@@ -41,7 +41,7 @@ const routes = [
// export default router;

export const router = createRouter({
  history: createWebHistory("/capstone-design/02/vue-router/"),
  history: createWebHashHistory("/capstone-design/02/vue-router/"),
  base: "/capstone-design/02/vue-router/",
  routes,
});
 No newline at end of file