There was an error while loading. Please reload this page.
Add an .angular-cli.json file at the root of your project that configures angular-cli to generate components/services/etc. in the correct places.
.angular-cli.json
{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "project": { "name": "AngularBasicTemplate" }, "apps": [ { "root": "ClientApp" } ], "test": { "karma": { "config": "./ClientApp/test/karma.conf.js" } }, "defaults": { "styleExt": "css", "component": {} } }
Then run npm i --save-dev @angular/cli. Now we can use at least the code-geration feature of the CLI. In example, this adds a new component:
npm i --save-dev @angular/cli
ng g c test