Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the file angular-cli.json in the new @angular/cli version?

I'm new in angular2 and i have tried to create a project with cli, but when I try to change the css adding it in angular-cli.json, I have detected that this file is not created...

Can I create manually or this file has been changed for another one?

Thanks!!

like image 885
ioses Avatar asked Feb 22 '17 15:02

ioses


People also ask

Where is Angular json CLI file?

The angular-cli. json should be located in the root folder of the project.

What is Angular CLI JSON file?

A file named angular. json at the root level of an Angular workspace provides workspace-wide and project-specific configuration defaults for build and development tools provided by the Angular CLI. Path values given in the configuration are relative to the root workspace folder.

Is Angular CLI json and Angular json same?

angular-cli. json file has been replaced by angular. json since Angular CLI v6-RC2. An Angular Workspace is a project which is produced by the ng new command.


1 Answers

Angular 6 and later

angular-cli.json file has been renamed/replaced with angular.json in version 6 of Angular.

It's a different file format and not just a rename :

https://github.com/angular/angular-cli/wiki/angular-workspace

like image 93
Simon_Weaver Avatar answered Oct 22 '22 08:10

Simon_Weaver