Add more pages in the WebUI
This commit is contained in:
parent
2b828765e3
commit
fcc1109e76
82 changed files with 5005 additions and 249 deletions
|
@ -14,6 +14,150 @@ const routes = [
|
|||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/http',
|
||||
redirect: '/http/routers',
|
||||
component: LayoutDefault,
|
||||
children: [
|
||||
{
|
||||
path: 'routers',
|
||||
name: 'httpRouters',
|
||||
components: {
|
||||
default: () => import('pages/http/Routers.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'http',
|
||||
title: 'HTTP Routers'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'routers/:name',
|
||||
name: 'httpRouterDetail',
|
||||
components: {
|
||||
default: () => import('pages/_commons/RouterDetail.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'http',
|
||||
title: 'HTTP Router Detail'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'services',
|
||||
name: 'httpServices',
|
||||
components: {
|
||||
default: () => import('pages/http/Services.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'http',
|
||||
title: 'HTTP Services'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'services/:name',
|
||||
name: 'httpServiceDetail',
|
||||
components: {
|
||||
default: () => import('pages/_commons/ServiceDetail.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'http',
|
||||
title: 'HTTP Service Detail'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'middlewares',
|
||||
name: 'httpMiddlewares',
|
||||
components: {
|
||||
default: () => import('pages/http/Middlewares.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'http',
|
||||
title: 'HTTP Middlewares'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'middlewares/:name',
|
||||
name: 'httpMiddlewareDetail',
|
||||
components: {
|
||||
default: () => import('pages/_commons/MiddlewareDetail.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'http',
|
||||
title: 'HTTP Middleware Detail'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/tcp',
|
||||
redirect: '/tcp/routers',
|
||||
component: LayoutDefault,
|
||||
children: [
|
||||
{
|
||||
path: 'routers',
|
||||
name: 'tcpRouters',
|
||||
components: {
|
||||
default: () => import('pages/tcp/Routers.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'tcp',
|
||||
title: 'TCP Routers'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'routers/:name',
|
||||
name: 'tcpRouterDetail',
|
||||
components: {
|
||||
default: () => import('pages/_commons/RouterDetail.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'tcp',
|
||||
title: 'TCP Router Detail'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'services',
|
||||
name: 'tcpServices',
|
||||
components: {
|
||||
default: () => import('pages/tcp/Services.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'tcp',
|
||||
title: 'TCP Services'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'services/:name',
|
||||
name: 'tcpServiceDetail',
|
||||
components: {
|
||||
default: () => import('pages/_commons/ServiceDetail.vue'),
|
||||
NavBar: () => import('components/_commons/ToolBar.vue')
|
||||
},
|
||||
props: { default: true, NavBar: true },
|
||||
meta: {
|
||||
protocol: 'tcp',
|
||||
title: 'TCP Service Detail'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue