import Vue from 'vue'
import Router from 'vue-router'

const Main = () => import('@/views/main')
const Linyi = () => import('@/views/linyi')
const Shenjiang = () => import('@/views/shenjiang.vue')

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/linyiercun',
    },
    {
      path: '/nanmatou',
      name: 'nanmatou',
      component: Main,
    },
    {
      path: '/linyiercun',
      name: 'linyiercun',
      component: Linyi,
    },
    {
      path: '/shenjianghaocheng',
      name: 'shenjianghaocheng',
      component: Shenjiang,
    },
  ]
})
