ng config
Retrieves or sets Angular configuration values in the angular.json file for the workspace.
ng config <jsonPath> <value> [options]
参数
参数 | 说明 |
---|---|
<jsonPath> | 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. |
<value> | If provided, a new value for the given configuration key. |
选项
选项 | 说明 |
---|---|
--global=true|false | When true, accesses the global configuration in the caller's home directory. 默认值: 别名: -g |
--help= | Shows a help message for this command in the console. 默认值: |