Skip to content

Commit d960ef4

Browse files
authored
Merge pull request #2 from funnyzak/refactor/route
2 parents 3884d00 + f7f6416 commit d960ef4

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/pages/index/router/index.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Home from '../views/Home.vue';
33
import TutorialIndex from '../views/tutorial/index.vue';
44
import TutorialHello from '../views/tutorial/Hello.vue';
55
import TutoialDismantling from '../views/tutorial/Dismantling.vue';
6+
import TutoialDismantling2 from '../views/tutorial/Dismantling2.vue';
67

78
const routes: Array<RouteRecordRaw> = [
89
{
@@ -18,13 +19,18 @@ const routes: Array<RouteRecordRaw> = [
1819
children: [
1920
{
2021
path: 'hello',
21-
name: 'TutorialHello',
22+
name: '正方体',
2223
component: TutorialHello
2324
},
2425
{
2526
path: 'dismantling',
26-
name: 'TutorialDismantling',
27+
name: '固定模型拆分效果',
2728
component: TutoialDismantling
29+
},
30+
{
31+
path: 'dismantling2',
32+
name: '动态模型拆分效果',
33+
component: TutoialDismantling2
2834
}
2935
]
3036
}

0 commit comments

Comments
 (0)