Skip to content

Commit

Permalink
docs: fix next
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Nov 20, 2018
1 parent 1232201 commit 6d5a110
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You will need [node](http://nodejs.org/) and [git](https://git-scm.com/). The pr
# Make sure you are using the latest version of Angular cli
ng new my-project --style less
cd my-project
ng add ng-alain@next --defaultLanguage=en
ng add ng-alain --defaultLanguage=en
ng serve
```

Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ ng-alain 是一个企业级中后台前端/设计解决方案脚手架,我们
# 确保使用的是最新版本 Angular cli
ng new my-project --style less
cd my-project
ng add ng-alain@next
ng add ng-alain
# 如果你想创建一个英文版本,则:
ng add ng-alain@next --defaultLanguage=en
ng add ng-alain --defaultLanguage=en
ng serve
```

Expand Down
2 changes: 1 addition & 1 deletion docs/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class AppModule {}

## 如何添加

创建脚手架[命令行](/cli/add) `ng add ng-alain@next` 时允许指定 `--i18n` 表示是否包含国际化示例代码(采用 `@ngx-translate/core` 方式)。
创建脚手架[命令行](/cli/add) `ng add ng-alain` 时允许指定 `--i18n` 表示是否包含国际化示例代码(采用 `@ngx-translate/core` 方式)。

## 如何删除

Expand Down
6 changes: 3 additions & 3 deletions packages/schematics/docs/add.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ type: Documents
## Overview

```bash
ng add ng-alain@next
ng add ng-alain
# If you want to create an English version, then:
ng add ng-alain@next --defaultLanguage=en
ng add ng-alain --defaultLanguage=en
```

## Options
Expand All @@ -30,7 +30,7 @@ ng add ng-alain@next --defaultLanguage=en
For example, generate a project with i18n:

```bash
ng add ng-alain@next --i18n --defaultLanguage=en
ng add ng-alain --i18n --defaultLanguage=en
```

See more [plugins](/cli/plugin).
6 changes: 3 additions & 3 deletions packages/schematics/docs/add.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ type: Documents
## 命令格式

```bash
ng add ng-alain@next
ng add ng-alain
# 如果你想创建一个英文版本,则:
ng add ng-alain@next --defaultLanguage=en
ng add ng-alain --defaultLanguage=en
```

## 额外参数
Expand All @@ -30,7 +30,7 @@ ng add ng-alain@next --defaultLanguage=en
例如生成一个带有国际化项目:

```bash
ng add ng-alain@next --i18n --defaultLanguage=en
ng add ng-alain --i18n --defaultLanguage=en
```

查看更多[插件](/cli/plugin)
2 changes: 1 addition & 1 deletion packages/schematics/docs/getting-started.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ng new demo --style less
2, add ng-alain scaffolding

```bash
ng add ng-alain@next --defaultLanguage=en
ng add ng-alain --defaultLanguage=en
```

> If you any querstion, please refer to [FAQ](/docs/faq)
Expand Down
4 changes: 2 additions & 2 deletions packages/schematics/docs/getting-started.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ ng new demo --style less
2、添加 ng-alain 脚手架

```bash
ng add ng-alain@next
ng add ng-alain
# 如果你想创建一个英文版本,则:
ng add ng-alain@next --defaultLanguage=en
ng add ng-alain --defaultLanguage=en
```

> 遇到问题请阅读 [常见问题](/docs/faq)
Expand Down

0 comments on commit 6d5a110

Please sign in to comment.