src/router/index.js
@@ -1,18 +1,7 @@ import Vue from 'vue' import VueRouter from 'vue-router' Vue.use(VueRouter) const routes = [ // { // path: '/', // component: Layout, // redirect: '/home', // children: [{ // path: 'home', // name: 'home', // component: () => import('@/views/layout'), // }] // }, { path:'/home', name:'home',