diff --git a/src/router/index.js b/src/router/index.js index 077f2df..440d5f5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -15,14 +15,14 @@ const routes = [ // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue') }, - // { - // path: '/edit', - // name: 'edit', - // // route level code-splitting - // // this generates a separate chunk (about.[hash].js) for this route - // // which is lazy-loaded when the route is visited. - // component: () => import(/* webpackChunkName: "about" */ '../views/edit.vue') - // } + { + path: '/edit', + name: 'edit', + // route level code-splitting + // this generates a separate chunk (about.[hash].js) for this route + // which is lazy-loaded when the route is visited. + component: () => import(/* webpackChunkName: "about" */ '../views/edit.vue') + } ] const router = createRouter({