diff --git a/docs/en-US/api/client/application.md b/docs/en-US/api/client/application.md index a7f126b4a..ae237311f 100644 --- a/docs/en-US/api/client/application.md +++ b/docs/en-US/api/client/application.md @@ -1,16 +1,16 @@ # Application -## 构造函数 +## Constructor ### `constructor()` -创建一个应用实例。 +Create an application instance. -**签名** +**Signature** * `constructor(options: ApplicationOptions)` -**示例** +**Example** ```ts const app = new Application({ @@ -23,11 +23,11 @@ const app = new Application({ }); ``` -## 方法 +## Methods ### use() -添加 Providers,内置 Providers 有: +Add Providers, build-in Providers are: - APIClientProvider - I18nextProvider @@ -44,7 +44,7 @@ const app = new Application({ ### render() -渲染 App 组件 +Component to render the App. ```ts import { Application } from '@nocobase/client'; @@ -59,4 +59,4 @@ export const app = new Application({ }); export default app.render(); -``` \ No newline at end of file +```