w3resource

ng config

Retrieves or sets Angular configuration values in the angular.json file for the workspace.

ng config <jsonPath> <value> [options]

Arguments:

ARGUMENT DESCRIPTION
<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.

Options

OPTION DESCRIPTION
--global=true|false When true, accesses the global configuration in the caller's home directory.
Default: false
Aliases: -g
--help= true|false|json|JSON Shows a help message for this command in the console.
Default: false

Previous: ng build
Next: ng analytics



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://w3resource.com/angular/ng-config.php