From 931d20beb887b0710230b95ee721d5e23c2504bb Mon Sep 17 00:00:00 2001 From: Pearl C <63629092+pearl-cao@users.noreply.github.com> Date: Sat, 18 Feb 2023 23:35:36 +0800 Subject: [PATCH] Update application.md --- docs/en-US/api/client/application.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/en-US/api/client/application.md b/docs/en-US/api/client/application.md index a7f126b4a0..ae237311f9 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 +```