import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/views/main'
import ChinaMap from '@/views/china'
import Guangdong from '@/views/guangdong/guangdong'
import MapTest from '@/views/map-test'
import Map3D from '@/views/3d-map'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'main',
      component: Main
    },
    {
      path: '/map',
      name: 'map',
      component: ChinaMap
    },
    {
      path: '/guangdong',
      name: 'guangdong',
      component: Guangdong
    },
    {
      path: '/map2',
      name: 'map2',
      component: MapTest
    },
    {
      path: '/map3d',
      name: 'map3d',
      component: Map3D
    },
  ]
})
