Update document

pull/11023/head
liangshiwei 4 years ago
parent 5837a897b5
commit 59aa84abdb

@ -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.

@ -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:

@ -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:

@ -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.

@ -465,7 +465,7 @@ ABP CLI提供了 `generate-proxy` 命令为你的服务HTTP API生成客户端
`angular` 文件夹下运行以下命令:
```bash
abp generate-proxy
abp generate-proxy -t ng
```
生成的文件如下:

@ -682,7 +682,7 @@ ABP提供了一个便捷的功能来自动创建客户端服务, 以方便地使
当启动 `TodoApp.HttpApi.Host` 项目后, 在`angular`文件夹中打开一个命令行终端并输入以下命令:
````bash
abp generate-proxy
abp generate-proxy -t ng
````
如果一切顺利, 它应该生成如下输出:

@ -15,7 +15,7 @@ ABP CLI 的`generate-proxies` 命令在 `src/app` 文件夹中创建按模块名
在angular应用程序的**根文件夹**中运行以下命令:
```bash
abp generate-proxy
abp generate-proxy -t ng
```
它只为你自己的应用程序的服务创建代理. 不会为你正在使用的应用程序模块的服务创建代理(默认情况下). 有几个选项,参见[CLI文档](../../CLI).

Loading…
Cancel
Save