mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 03:55:10 +00:00
34 lines
535 B
Markdown
34 lines
535 B
Markdown
|
# Application
|
||
|
|
||
|
```ts
|
||
|
const app = new Application({
|
||
|
apiClient: {
|
||
|
baseURL: process.env.API_BASE_URL,
|
||
|
},
|
||
|
dynamicImport: (name: string) => {
|
||
|
return import(`../plugins/${name}`);
|
||
|
},
|
||
|
});
|
||
|
```
|
||
|
|
||
|
## 属性
|
||
|
|
||
|
## 方法
|
||
|
|
||
|
|
||
|
|
||
|
## Providers
|
||
|
|
||
|
- APIClientProvider
|
||
|
- I18nextProvider
|
||
|
- AntdConfigProvider
|
||
|
- RemoteRouteSwitchProvider
|
||
|
- SystemSettingsProvider
|
||
|
- PluginManagerProvider
|
||
|
- SchemaComponentProvider
|
||
|
- SchemaInitializerProvider
|
||
|
- BlockSchemaComponentProvider
|
||
|
- AntdSchemaComponentProvider
|
||
|
- ACLProvider
|
||
|
- RemoteDocumentTitleProvider
|