import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/views/main'
import ChinaMap from '@/views/china'
import GDProduction from '@/views/guangdong/gd-production'
import GDTrade from '@/views/guangdong/gd-trade'
import GDDisease from '@/views/guangdong/gd-disease'
import GDFish from '@/views/guangdong/gd-fish'
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: '/production',
      name: 'production',
      component: GDProduction
    },
    {
      path: '/trade',
      name: 'trade',
      component: GDTrade
    },
    {
      path: '/disease',
      name: 'disease',
      component: GDDisease
    },
    {
      path: '/fish',
      name: 'fish',
      component: GDFish
    },
    {
      path: '/map2',
      name: 'map2',
      component: MapTest
    },
    {
      path: '/map3d',
      name: 'map3d',
      component: Map3D
    },
  ]
})
