Skip to content

Commit 1775b47

Browse files
committedJun 13, 2024
fix router
1 parent 9298c2c commit 1775b47

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed
 

‎src/router/index.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,7 @@ const router = createRouter({
88
path: "/",
99
name: "home",
1010
component: HomeView,
11-
},
12-
{
13-
path: "/about",
14-
name: "about",
15-
// route level code-splitting
16-
// this generates a separate chunk (About.[hash].js) for this route
17-
// which is lazy-loaded when the route is visited.
18-
component: () => import("../views/AboutView.vue"),
19-
},
11+
}
2012
],
2113
});
2214

0 commit comments

Comments
 (0)
Please sign in to comment.