Skip to content

Commit e729482

Browse files
committed
feat: '/' route redirects to '/simulator'
1 parent b62a7a9 commit e729482

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/router/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import simulator from '../pages/simulator.vue'
55
const routes = [
66
{
77
path: '/',
8-
name: 'index',
9-
component: index,
8+
// name: 'index',
9+
// component: index,
10+
redirect: '/simulator',
1011
},
1112
{
1213
path: '/simulator',

0 commit comments

Comments
 (0)