22 lines
478 B
TypeScript
22 lines
478 B
TypeScript
import { Plugin } from '@nocobase/client';
|
|
|
|
export class PluginGasStationClient 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.addComponenkkkkkts({})
|
|
// this.app.addScopes({})
|
|
// this.app.addProvider()
|
|
// this.app.addProviders()
|
|
// this.app.router.add()
|
|
}
|
|
}
|
|
|
|
export default PluginGasStationClient;
|