diff --git a/docs/en/Tutorials/Part-10.md b/docs/en/Tutorials/Part-10.md index 5d5ea9618b..563de95d68 100644 --- a/docs/en/Tutorials/Part-10.md +++ b/docs/en/Tutorials/Part-10.md @@ -948,7 +948,7 @@ Since the HTTP APIs have been changed, you need to update Angular client side [s Run the following command in the `angular` folder (you may need to stop the angular application): ```bash -abp generate-proxy +abp generate-proxy -t ng ``` This command will update the service proxy files under the `/src/app/proxy/` folder. diff --git a/docs/en/Tutorials/Part-2.md b/docs/en/Tutorials/Part-2.md index b84ece9e97..7c8efde9d0 100644 --- a/docs/en/Tutorials/Part-2.md +++ b/docs/en/Tutorials/Part-2.md @@ -461,7 +461,7 @@ For more information, see the [RoutesService document](../UI/Angular/Modifying-t Once the host application is running, execute the following command in the `angular` folder: ```bash -abp generate-proxy +abp generate-proxy -t ng ``` This command will create the following files under the `/src/app/proxy/books` folder: diff --git a/docs/en/Tutorials/Part-9.md b/docs/en/Tutorials/Part-9.md index d6fa004596..0e271a5e4e 100644 --- a/docs/en/Tutorials/Part-9.md +++ b/docs/en/Tutorials/Part-9.md @@ -605,7 +605,7 @@ function configureRoutes(routes: RoutesService) { Run the following command in the `angular` folder: ```bash -abp generate-proxy +abp generate-proxy -t ng ``` This command generates the service proxy for the author service and the related model (DTO) classes: diff --git a/docs/en/UI/Angular/Service-Proxies.md b/docs/en/UI/Angular/Service-Proxies.md index 18e5a3a0cc..dc8433f7de 100644 --- a/docs/en/UI/Angular/Service-Proxies.md +++ b/docs/en/UI/Angular/Service-Proxies.md @@ -15,7 +15,7 @@ ABP introduces an endpoint that exposes server-side method contracts. When the ` Run the following command in the **root folder** of the angular application: ```bash -abp generate-proxy +abp generate-proxy -t ng ``` The command without any parameters creates proxies only for your own application's services and places them in your default Angular application. There are several parameters you may use to modify this behavior. See the [CLI documentation](../../CLI) for details. diff --git a/docs/zh-Hans/Tutorials/Part-2.md b/docs/zh-Hans/Tutorials/Part-2.md index decddfebff..231ca226fa 100644 --- a/docs/zh-Hans/Tutorials/Part-2.md +++ b/docs/zh-Hans/Tutorials/Part-2.md @@ -465,7 +465,7 @@ ABP CLI提供了 `generate-proxy` 命令为你的服务HTTP API生成客户端 在 `angular` 文件夹下运行以下命令: ```bash -abp generate-proxy +abp generate-proxy -t ng ``` 生成的文件如下: diff --git a/docs/zh-Hans/Tutorials/Todo/Index.md b/docs/zh-Hans/Tutorials/Todo/Index.md index d940957c18..2200bf23e6 100644 --- a/docs/zh-Hans/Tutorials/Todo/Index.md +++ b/docs/zh-Hans/Tutorials/Todo/Index.md @@ -682,7 +682,7 @@ ABP提供了一个便捷的功能来自动创建客户端服务, 以方便地使 当启动 `TodoApp.HttpApi.Host` 项目后, 在`angular`文件夹中打开一个命令行终端并输入以下命令: ````bash -abp generate-proxy +abp generate-proxy -t ng ```` 如果一切顺利, 它应该生成如下输出: diff --git a/docs/zh-Hans/UI/Angular/Service-Proxies.md b/docs/zh-Hans/UI/Angular/Service-Proxies.md index 2824bc44a7..cc07a24175 100644 --- a/docs/zh-Hans/UI/Angular/Service-Proxies.md +++ b/docs/zh-Hans/UI/Angular/Service-Proxies.md @@ -15,7 +15,7 @@ ABP CLI 的`generate-proxies` 命令在 `src/app` 文件夹中创建按模块名 在angular应用程序的**根文件夹**中运行以下命令: ```bash -abp generate-proxy +abp generate-proxy -t ng ``` 它只为你自己的应用程序的服务创建代理. 不会为你正在使用的应用程序模块的服务创建代理(默认情况下). 有几个选项,参见[CLI文档](../../CLI).