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

const ChinaFarming = () => import('@/views/china-farming')
const ChinaFishing = () => import('@/views/china-fishing')

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/farming'
    },
    {
      path: '/farming',
      name: 'farming',
      component: ChinaFarming
    },
    {
      path: '/fishing',
      name: 'fishing',
      component: ChinaFishing
    },
  ]
})
