From ba5e194acdbe5080b89df860159a3baa77e4ec20 Mon Sep 17 00:00:00 2001 From: guichi Date: Tue, 27 Sep 2016 16:25:02 +0800 Subject: [PATCH] Update router.jade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 改正错误 --- public/docs/ts/latest/guide/router.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/guide/router.jade b/public/docs/ts/latest/guide/router.jade index dcc867c461..00a5d6d5d6 100644 --- a/public/docs/ts/latest/guide/router.jade +++ b/public/docs/ts/latest/guide/router.jade @@ -935,11 +935,11 @@ h4#register-providers 在`AppModule`中注册路由 :marked Our app launches from the `app.module.ts` file in the `/app` folder. - 本应用的启动点位于`/app`目录下的`main.ts`文件中。 + 本应用的启动点位于`/app`目录下的`app.module.ts`文件中。 We import the `routing` token we exported from the `app.routing.ts` file and add it to the `imports` array. - 我们从`app.routing.ts`文件中导入了`routing`令牌,并把它添加到了`imports`数组中。 + 我们导入了从`app.routing.ts`文件中导出的`routing`令牌,并把它添加到了`imports`数组中。 We import our `CrisisListComponent` and `HeroListComponent` components and add them to our *declarations* so they will be registered within our `AppModule`.