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

Vue.use(VueRouter)

const routes = [


  {
    path: '/',
    name: 'home',
    components: {
      default: () => import("../views/Home.vue"),
    },
    children: [

      {
        path: '/',
        name: 'base',
        components: {
          homeHeader: () => import("@/components/comm/CommHeader.vue"),
          homeLeft: () => import("@/components/base/BaseLeft.vue"),
          homeRight: () => import("@/components/base/BaseRight.vue"),
        },
      },

    ]

  },

  // {
  //   path: '/',
  //   name: 'home',
  //   components: {
  //     default: () => import('../views/Home.vue')
  //   }
  // }


  // {

  //   path: '/',
  //   name: 'login',
  //   components: {
  //     default: () => import('../views/Login.vue')
  //   }
  // }

]

const router = new VueRouter({
  routes
})


export default router