mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
433 B
TypeScript
19 lines
433 B
TypeScript
import { Loadable, regCustomPanel, regPluginRootRoute } from '@capital/common';
|
|
import { Translate } from './translate';
|
|
|
|
const MainPanel = Loadable(() => import('./MainPanel'));
|
|
|
|
regCustomPanel({
|
|
position: 'setting',
|
|
icon: '',
|
|
name: 'com.msgbyte.openapi/mainPanel',
|
|
label: Translate.openapi,
|
|
render: MainPanel,
|
|
});
|
|
|
|
regPluginRootRoute({
|
|
name: 'com.msgbyte.openapi/route',
|
|
path: '/openapi',
|
|
component: MainPanel,
|
|
});
|