update 修改页面名称为index

This commit is contained in:
路 范
2021-09-09 17:16:54 +08:00
parent 50705467d2
commit e15d65e7e4
2 changed files with 4 additions and 4 deletions

View File

@@ -1,15 +1,15 @@
import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/home'
import index from '@/components/index'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'home',
component: home
path: '/index',
name: 'index',
component: index
}
]
})