填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

ng doc

Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.

ng doc <keyword> [options]
      
      ng doc <keyword> [options]
    
ng d <keyword> [options]
      
      ng d <keyword> [options]
    

参数

参数说明
<keyword>

The keyword to search for, as provided in the search bar in angular.io.

选项

选项说明
--help=
true|false|json|JSON

Shows a help message for this command in the console.

默认值: false

--search=true|false

When true, searches all of angular.io. Otherwise, searches only API reference documentation.

默认值: false

别名: -s

--version

Contains the version of Angular to use for the documentation. If not provided, the command uses your current Angular core version.