From 977c62fe7c11cf0ee49917694bc273f75d2f5b6a Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Mon, 10 Jul 2023 11:55:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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({