import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name: 'home',
        // Redirect will be handled by App.vue logic usually, but here we can define structure
        component: () => import('@/views/YoloBrowser.vue')
    },
    {
        path: '/workbenches',
        name: 'Workbenches',
        component: () => import('@/views/tk/Workbenches.vue')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
