snippetbashTip
ng config — Use JSON path notation (camelCase) to edit workspace or project configurations, such as build option
Viewed 0 times
commandcamelcasenotationpathuseclijsonng config
Problem
How to use the
ng config command: Use JSON path notation (camelCase) to edit workspace or project configurations, such as build options. More information: <https://angular.dev/cli/config>.Solution
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 configGet a specific configuration value:
ng config projects.{{project_name}}.prefixSet 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]}}Code Snippets
Display all configuration values
ng configGet a specific configuration value
ng config projects.{{project_name}}.prefixSet 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]}}Context
tldr-pages: common/ng config
Revisions (0)
No revisions yet.