import Vue from 'vue'
import Router from 'vue-router'
import Main   from '../views/main.vue'
import index from '../views/index.vue'
import contract from '../views/contract.vue'
import contact from '../views/contact.vue'
import my from '../views/my.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
    	path: '/',
    	redirect:'/index'
    },{
      path:'/index',
      component:index
    },{
      path:'/contract',
      component:contract
    },{
      path:'/contact',
      component:contact
    },{
      path:'/my',
      component:my
    }
  ]
})
