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.
tailchat/client/web/plugins/com.msgbyte.openapi/src/index.ts

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,
});