//配置路由相关的信息
import Vue from 'vue'
import VueRouter from 'vue-router'
import index from '../pages/index'
import gouwuche from '../pages/gouwuche'

Vue.use(VueRouter);

const routes = [
    {
        path:'/',
        redirect:'/gouwuche'
    },
    {
        path:'/index',
        component:index
    },
    {
        path:'/gouwuche',
        component:gouwuche
    },
]

const router = new VueRouter({
    routes,
})

export default router