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!!
The angular-cli. json should be located in the root folder of the project.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With