Skip to content

Commit d367018

Browse files
committed
Add join route
1 parent 4a75917 commit d367018

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/router/index.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,18 @@ const routes = [
3333
},
3434
{
3535
path: "association",
36-
name: "Association",
37-
component: () => import("@/views/Association.vue"),
36+
children: [
37+
{
38+
path: "",
39+
name: "Association",
40+
component: () => import("@/views/Association.vue"),
41+
},
42+
{
43+
path: "join",
44+
name: "Join",
45+
component: () => import("@/views/Join.vue"),
46+
},
47+
],
3848
},
3949
{
4050
path: "contribute",

0 commit comments

Comments
 (0)