import Vue from 'vue'
import Router from 'vue-router'
import myInfo from '@/components/myInfo'
import index from '@/components/index'
import index2 from '@/components/index2'
import index3 from '@/components/index3'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/message',
      name: 'index',
      component: index
    },
    {
      path: '/myInfo',
      name: 'myInfo',
      component: myInfo
    },
    {
      path: '/index3',
      name: 'index3',
      component: index3
    },
    {
      path: '/',
      name: 'index2',
      component: index2
    },
  ]
})
