大哥 主播 即时消息 三合一
This commit is contained in:
22
src/router/index.js
Normal file
22
src/router/index.js
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
Reference in New Issue
Block a user