// import Vue from 'vue'
// import VueRouter from 'vue-router'

// Vue.use(VueRouter)

const router =new VueRouter({
  // mode: 'history',
  mode: 'hash',
  // base: import.meta.env.VITE_BASE_URL,
  routes: [
    {
      path: '/',
      name: 'index',
      component: () => import( './views/index.vue')
    },{
      path: '/middlePage',
      name: 'middlePage',
      component: () => import( './views/middlePage.vue')
    },{
      path: '/miniLogin',
      name: 'miniLogin',
      component: () => import( './views/miniLogin.vue')
    },{
      path: '/ssoMiddlePage',
      name: 'ssoMiddlePage',
      component: () => import( './views/ssoMiddlePage.vue')
    },{
      path: '/register',
      name: 'register',
      component: () => import( './views/register.vue')
    },{
      path: '/authorize',
      name: 'authorize',
      component: () => import( './views/authorize.vue')
    },
  ]
})
export default router;