796e73ae5a
* refactor(doc): change to new structure * docs: add database docs * docs: add collection docs * docs: add db field examples * docs(api): fix filename and menu path * docs: add database docs * docs: add db operators doc * docs: add resourcer menu * docs: add resourcer docs * docs: fix api docs * docs: refactor api menu structure * feat: update docs (#830) * feat: updates * feat: update docs * chore: ignore docs from ci Co-authored-by: Junyi <mytharcher@users.noreply.github.com> Co-authored-by: mytharcher <mytharcher@gmail.com> * docs: add database methods docs * docs: add missed api * docs: fix api docs * feat: update development docs (#833) * feat: update development docs * feat: update docs * feat: update docs * docs: add first plugin example (#834) * feat: update docs * feat: update docs * docs: fix typo Co-authored-by: chenos <chenlinxh@gmail.com>
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
|