angular-cn
angular-cn copied to clipboard
Chinese localization of angular.io
**注意:本仓库即将锁定,请转到 https://github.com/ng-docs/angular-cn/issues 提 issue,谢谢!** On the following posts: https://angular.cn/guide/testing https://v10.angular.cn/guide/testing this is broken on both: https://circleci.com/add-projects Please update with the following: https://circleci.com/docs/2.0/projects/
> 注意:新版本文档位于aio分支下,master分支下是老版本的文档。 > 对于错别字或明显的语法错误,建议直接发 PR(在content目录下相应的文件上直接编辑,保存时就会自动变成PR)。 出错的URL:https://angular.cn/start 错误的内容(请拷贝进来一份精确的出错文本,以便我定位): 1,products.ts 文件,只有products文本信息,没有interface Product类型,然后文档中就直接引用了; 2,stackblitz中使用Angular Generator Component,并不会直接把组件注册到模块中(app.module.ts) 建议的修改方式(可选): 1,products.ts 文件加入 export interface Product { id: number; name: string; price: number; description?: string; } 2,在app.module.ts中导入并注册product-alert组件...
出错的URL: [rxjs库](https://angular.cn/guide/rx-library) 错误的内容(请拷贝进来一份精确的出错文本,以便我定位): RxJS 提供了一些用来创建可观察对象的函数。这些函数可以简化根据某些东西创建可观察对象的过程,比如事件、定时器、承诺 英雄留名(会出现在鸣谢清单中,默认使用你的github id):
错误信息如下: ``` C:\WorkDir\GitHub\angular-cn\aio>yarn docs yarn run v1.22.5 $ node scripts/contributors/check-pictures && yarn generate-stackblitz && yarn generate-zips $ node ./tools/stackblitz-builder/generateStackblitz $ node ./tools/example-zipper/generateZips $ yarn docs-only $ node --max-old-space-size=2048 ./node_modules/.bin/dgeni ./tools/transforms/angular.io-package...
> 注意:新版本文档位于aio分支下,master分支下是老版本的文档。 > 对于错别字或明显的语法错误,建议直接发 PR(在content目录下相应的文件上直接编辑,保存时就会自动变成PR)。 出错的URL:https://angular.cn/tutorial/toh-pt4#inject-the-heroservice 错误的内容(请拷贝进来一份精确的出错文本,以便我定位): 这一段的实例代码,MessageService还没创建,之后才用到的  建议的修改方式(可选):删掉即可 `import { MessageService } from '../message.service';` 还有后面的 `constructor(private heroService: HeroService, private messageService: MessageService) { }` 改成 `constructor(private heroService: HeroService) {...
漏掉了 出现 二字 注意:本仓库即将锁定,请转到 https://github.com/ng-docs/angular-cn/pulls 提交 PR