📅  最后修改于: 2020-10-27 02:44:04             🧑  作者: Mango
ng config [options]
ng config命令可在angular.json中检索或设置角度配置值。选项是可选参数。
Sr.No. | Argument & Syntax | Description |
---|---|---|
1 | The configuration key to set or query, in JSON path format. For example: “a[3].foo.bar[2]”. If no new value is provided, returns the current value of this key. | |
2 | If provided, a new value for the given configuration key. |
Sr.No. | Option & Syntax | Description | 1 | –global=true|false |
When true, accesses the global configuration in the caller’s home directory. Default: false Aliases: -g |
2 | –help=true|false|json|JSON |
Shows a help message for this command in the console. Default: false |
---|
首先转到使用ng build命令更新的角度项目。
现在运行config命令。
\>Node\>TutorialsPoint> ng config projects.TutorialsPoint.projectType
application