import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views/index'
import consult from '@/views/consult'
import detile1 from '@/views/consult/detile1.vue'
import detile2 from '@/views/consult/detile2.vue'
import detile3 from '@/views/consult/detile3.vue'
import detile4 from '@/views/consult/detile4.vue'
import aboutUs from '@/views/aboutUs'
import project from '@/views/project'
//detile1

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/consult',
      name: 'consult',
      component: consult
    },
    // detile1
    {
      path: '/detile1',
      name: 'detile1',
      component: detile1
    },
    {
      path: '/detile2',
      name: 'detile2',
      component: detile2
    },
    {
      path: '/detile3',
      name: 'detile3',
      component: detile3
    },
    {
      path: '/detile4',
      name: 'detile4',
      component: detile4
    },
    {
      path: '/aboutUs',
      name: 'aboutUs',
      component: aboutUs
    },
    {
      path: '/project',
      name: 'project',
      component: project
    },
  ]
})
