mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 05:48:24 +00:00
30 lines
724 B
Plaintext
30 lines
724 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ng config
|
|
|
|
> Use JSON path notation (camelCase) to edit workspace or project configurations, such as build options.
|
|
> More information: <https://angular.dev/cli/config>.
|
|
|
|
- Display all configuration values:
|
|
|
|
`ng config`
|
|
|
|
- Get a specific configuration value:
|
|
|
|
`ng config projects.{{project_name}}.prefix`
|
|
|
|
- Set a configuration value:
|
|
|
|
`ng config projects.{{project_name}}.prefix {{value}}`
|
|
|
|
- Disable CLI analytics globally:
|
|
|
|
`ng config cli.analytics disabled {{[-g|--global]}}`
|
|
|
|
- Set a global config value (caution: this affects all Angular projects):
|
|
|
|
`ng config projects.{{project_name}}.prefix {{value}} {{[-g|--global]}}`
|