import Vue from 'vue' import VueRouter from 'vue-router' Vue.use(VueRouter) const routes = [{ path: '/', name: 'Login', meta: { keepAlive: true }, component: () => import('../views/login/index.vue') }, { path: '/home', name: 'Home', meta: { keepAlive: true }, component: () => import('../views/home/index.vue') }, { path: '/text', name: 'Home', component: () => import('../views/home/text.vue') }, { path: '/followUp/director', name: 'director', meta: { keepAlive: true }, component: () => import('../views/followUp/director.vue') }, { path: '/followUp/record', name: 'record', component: () => import('../views/followUp/record.vue') }, { path: '/followUp/details', name: 'details', component: () => import('../views/followUp/details.vue') }, { path: '/followUp/historySupervisor', name: 'historySupervisor', component: () => import('../views/followUp/historySupervisor.vue') }, { path: '/followUp/addfollow', name: 'historySupervisor', component: () => import('../views/followUp/addfollow.vue') }, { path: '/specialServices/index', name: 'specialServices', meta: { keepAlive: true }, component: () => import('../views/specialServices/index.vue') }, { path: '/specialServices/startServiceplay', name: 'startServiceplay', component: () => import('../views/specialServices/startServiceplay.vue') }, { path: '/specialServices/details', name: 'details', component: () => import('../views/specialServices/details.vue') }, { path: '/loveHelp/index', name: 'loveHelp', component: () => import('../views/loveHelp/index.vue') }, { path: '/loveHelp/details', name: 'loveHelpdetails', component: () => import('../views/loveHelp/details.vue') }, { path: '/consultation/index', name: 'consultation', meta: { keepAlive: true }, component: () => import('../views/consultation/index.vue') }, { path: '/consultation/details', name: 'consultationdetails', component: () => import('../views/consultation/details.vue') }, { path: '/reporting/index', name: 'reporting', meta: { keepAlive: true }, component: () => import('../views/reporting/index.vue') }, { path: '/reporting/details', name: 'reporting', component: () => import('../views/reporting/details.vue') } ] const router = new VueRouter({ routes }) export default router