import VueRouter from 'vue-router'

const router = new VueRouter({
  routes: [
    {
      path: '/',
      name: 'index',
      component: () => import('./pages/draw.vue')
    },
    {
      path: '/admin',
      name: 'user',
      component: () => import('./pages/admin.vue')
    },
  ],
})

export default router
