diff --git a/aio/content/guide/file-structure.md b/aio/content/guide/file-structure.md index a420b0948a..322f0c91a9 100644 --- a/aio/content/guide/file-structure.md +++ b/aio/content/guide/file-structure.md @@ -76,6 +76,7 @@ The top level of the workspace contains workspace-wide configuration files, conf | `package-lock.json` | Provides version information for all packages installed into `node_modules` by the npm client. See [npm documentation](https://docs.npmjs.com/files/package-lock.json) for details. If you use the yarn client, this file will be [yarn.lock](https://yarnpkg.com/lang/en/docs/yarn-lock/) instead. | | `package-lock.json` | 提供 npm 客户端安装到 `node_modules` 的所有软件包的版本信息。欲知详情,请参阅 [npm 的文档](https://docs.npmjs.com/files/package-lock.json)。如果你使用的是 yarn 客户端,那么该文件[就是 yarn.lock](https://yarnpkg.com/lang/en/docs/yarn-lock/) 。 | | `src/` | Source files for the root-level application project. | +| `src/` | 根项目的源文件。 | | `node_modules/` | Provides [npm packages](guide/npm-packages) to the entire workspace. Workspace-wide `node_modules` dependencies are visible to all projects. | | `README.md` | 根应用的介绍性文档。 | | `tsconfig.json` | Default [TypeScript](https://www.typescriptlang.org/) configuration for projects in the workspace. | diff --git a/aio/content/guide/npm-packages.md b/aio/content/guide/npm-packages.md index b280c4259f..5baf893d87 100644 --- a/aio/content/guide/npm-packages.md +++ b/aio/content/guide/npm-packages.md @@ -109,6 +109,7 @@ For a complete list of Angular packages, see the [API reference](http://angular. Package name | Description ---------------------------------------- | -------------------------------------------------- +包名 | 说明 [**@angular/animations**](api/animations) | Angular's animations library makes it easy to define and apply animation effects such as page and list transitions. For more information, see the [Animations guide](guide/animations). [**@angular/animations**](api/animations) | Angular 的动画库能让你更容易地定义和应用页面和列表的动画效果。欲知详情,参见[动画](guide/animations)。 [**@angular/common**](api/common) | The commonly-needed services, pipes, and directives provided by the Angular team. The [`HttpClientModule`](api/common/http/HttpClientModule) is also here, in the [`@angular/common/http`](api/common/http) subfolder. For more information, see the [HttpClient guide](guide/http). diff --git a/aio/content/guide/styleguide.md b/aio/content/guide/styleguide.md index ca77c0dd27..fb583646d9 100644 --- a/aio/content/guide/styleguide.md +++ b/aio/content/guide/styleguide.md @@ -2787,6 +2787,8 @@ Yet there is a real danger of that happening if the `SharedModule` provides a se #### Style 04-11 +#### 风格 04-11 + A distinct application feature or workflow may be *lazy loaded* or *loaded on demand* rather than when the application starts. 某些边界清晰的应用特性或工作流可以做成*惰性加载*或*按需加载*的,而不用总是随着应用启动。 @@ -2845,6 +2847,8 @@ A typical *lazy loaded folder* contains a *routing component*, its child compone ## Components +## 组件 + {@a 05-03} ### Components as elements diff --git a/aio/content/tutorial/index.md b/aio/content/tutorial/index.md index 54d2e7d831..c9c43bf467 100644 --- a/aio/content/tutorial/index.md +++ b/aio/content/tutorial/index.md @@ -24,6 +24,9 @@ The Getting Started tutorial covers the same major topics as this Tour of Heroes This _Tour of Heroes_ tutorial provides an introduction to the fundamentals of Angular. It shows you how to set up your local development environment and develop an app using the [Angular CLI tool](cli "CLI command reference"). +这份《英雄指南》教程提供了一个对 Angular 基础知识的简介。 +它会告诉你如何搭建本地开发环境,并使用 [Angular CLI 工具](cli "CLI command reference")开发一个应用。 + In this _Tour of Heroes_ tutorial, you will build an app that helps a staffing agency manage its stable of heroes. 在这个**英雄指南**教程中,你将构建一个应用,来帮助招聘机构管理一群英雄。