mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-10 20:36:55 +08:00
添加客户端
This commit is contained in:
38
src/router/client.ts
Normal file
38
src/router/client.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
export default {
|
||||
path: '/client',
|
||||
name: 'client',
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'client-index',
|
||||
component: () => import('@/client/ClientIndex.vue'),
|
||||
meta: {
|
||||
title: '首页',
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'fetcher',
|
||||
name: 'client-fetcher',
|
||||
component: () => import('@/client/ClientFetcher.vue'),
|
||||
meta: {
|
||||
title: 'EventFetcher',
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'settings',
|
||||
name: 'client-settings',
|
||||
component: () => import('@/client/ClientSettings.vue'),
|
||||
meta: {
|
||||
title: '设置',
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'test',
|
||||
name: 'client-test',
|
||||
component: () => import('@/client/ClientTest.vue'),
|
||||
meta: {
|
||||
title: '测试',
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
@@ -6,6 +6,7 @@ import user from './user'
|
||||
import obs from './obs'
|
||||
import open_live from './open_live'
|
||||
import singlePage from './singlePage'
|
||||
import client from './client';
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
@@ -88,6 +89,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
manage,
|
||||
obs,
|
||||
open_live,
|
||||
client,
|
||||
{
|
||||
path: '/@:id',
|
||||
name: 'user',
|
||||
|
||||
Reference in New Issue
Block a user