import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  base: process.env.VUE_APP_ROUTER,
  mode: 'history',
  routes: [
    {
      path: '/login',
      name: 'Login',
      component: () => import('@/views/login'),
      children: []
    },
    {
      path: '/reset/password',
      name: 'ResetPassword',
      component: () => import('@/views/login/reset-password.vue')
    },
    {
      path: '/404',
      name: '404',
      component: () => import('@/views/404')
    }
  ]
})
