Loading src/router.js +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'; Loading Loading @@ -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 Loading
src/router.js +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'; Loading Loading @@ -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