📅  最后修改于: 2020-10-27 02:44:25             🧑  作者: Mango
ng doc [options]
ng d [options]
ng doc命令在浏览器中打开Angular官方文档,并搜索给定的关键字。选项是可选参数。
Sr.No. | Argument & Syntax | Description |
---|---|---|
1 | The keyword to search for, as provided in the search bar in angular.io. |
Sr.No. | Option & Syntax | Description |
---|---|---|
1 | –help=true|false|json|JSON |
Shows a help message for this command in the console. Default: false |
首先转到使用ng build命令更新的角度项目。
现在运行doc命令。
\>Node\>TutorialsPoint> ng doc build
现在,浏览器窗口将打开并搜索相关的关键字。