Co-authored-by: root <root@huahua.daoyoucloud.com> Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-authored-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: TomyJan <TomyJan6@gmail.com> Co-authored-by: luliangqiang <2650321653@qq.com> Co-authored-by: yoona <1486343814@qq.com> Co-authored-by: wjh <wwwjh0710@163.com> Reviewed-on: daoyoucloud/tachybase#1408 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: hua <1494133104@qq.com> Co-committed-by: hua <1494133104@qq.com>
22 lines
474 B
TypeScript
22 lines
474 B
TypeScript
import { Plugin } from '@tachybase/client';
|
|
|
|
export class PluginBlockchainClient extends Plugin {
|
|
async afterAdd() {
|
|
// await this.app.pm.add()
|
|
}
|
|
|
|
async beforeLoad() {}
|
|
|
|
// You can get and modify the app instance here
|
|
async load() {
|
|
console.log(this.app);
|
|
// this.app.addComponents({})
|
|
// this.app.addScopes({})
|
|
// this.app.addProvider()
|
|
// this.app.addProviders()
|
|
// this.app.router.add()
|
|
}
|
|
}
|
|
|
|
export default PluginBlockchainClient;
|