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

Vue.use(Router)
export const constantRouterMap = [
  {
    path: '/',
    name: 'DaLuJiaTV1',
    component: DaLuJiaTV1,
    meta: {
      keepAlive: true
    }
  },
  {
    path: '/TV2',
    name: 'DaLuJiaTV2',
    component: DaLuJiaTV2,
    meta: {
      keepAlive: true
    }
  }

]
export default new Router({
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRouterMap
})

