I have installed Angular CLI package separately using npm:
npm install --save-dev @angular/cli@latest
When I try to use commands cli
I get an error:
Unable to find any apps in `.angular-cli.json`.
How to generate .angular-cli.json
for current project?
I couldn't see .angular-cli.json too. Because my Angular version is 6. ng version -> Angular CLI : 6.0.7. Check your Angular version.
If you copy paste your project the .angular-cli.json you wil not find this file try to create a new file with the same name and add the code and it wil work.
In
angular.json
you can insert all css and js file in your template. Other ways, you can use from Style.css in src folder for load stylesheets.