import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home.vue'
import Login from '@/components/Login.vue'
import moduleRoutes from './moduleRoutes'
import { router } from '../modules/firstPage';
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      component: Home,
      children: moduleRoutes
    },
    {
      path: '/login',
      component: Login,
    }
  ]
})

