import Vue from 'vue'
import Router from 'vue-router'
import index from '@/views/index.vue'

Vue.use(Router)
export const constantRouterMap = [
  {
    path: '/',
    name: 'index',
    component: index,
    meta: {
      keepAlive: true
    }
  }
  // {
  //   path: '/DT',
  //   name: 'DT',
  //   component: DT,
  //   meta: {
  //     keepAlive: true
  //   }
  // }
]
export default new Router({
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRouterMap
})

