update:修改配置
This commit is contained in:
@@ -4,9 +4,10 @@ import Router from 'vue-router'
|
||||
Vue.use(Router)
|
||||
|
||||
export default new Router({
|
||||
mode:'hash',
|
||||
routes: [
|
||||
{
|
||||
path: '/index',
|
||||
path: '/',
|
||||
name: 'index',
|
||||
component: () => import('../views')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user