Skip to content

Commit 672cee0

Browse files
authored
Update router index.ts (easy-temps#47)
'main' - spelling mistakes
1 parent b23be5b commit 672cee0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/router/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import NProgress from 'nprogress'
44
import 'nprogress/nprogress.css'
55

66
// 导入路由组件
7-
import mian from '@/views/index.vue'
7+
import main from '@/views/index.vue'
88
import mock from '@/views/mock/index.vue'
99
import charts from '@/views/charts/index.vue'
1010
import unocss from '@/views/unocss/index.vue'
@@ -16,7 +16,7 @@ const routes = [
1616
{
1717
path: '/',
1818
name: 'main',
19-
component: mian,
19+
component: main,
2020
},
2121
{
2222
path: '/mock',

0 commit comments

Comments
 (0)