text: import { createRouter, createWebHashHistory } from 'vue-router'
  import Home from '../views/Home.vue'
  
  const routes = [
    {
      path: '/home',
      name: 'Home',
      component: Home,
      children: [
        {
          path: 'index',
          component: () => import('../views/Index.vue')
        },
        {
          path: 'shop',
          component: () => import('../views/Shop.vue')
        }
      ]
    },
    {
      path: '/login',
      name: 'Login',
      component: () => import('../views/Login.vue')
    },
    {
      path: '/visualization',
      name: 'Visualization',
      component: () => import('../views/Visualization.vue')
    }
  ]
  
  const router = createRouter({
    history: createWebHashHistory(process.env.BASE_URL),
    routes
  })
  
  export default router
  