-
Notifications
You must be signed in to change notification settings - Fork 0
.angular cli.json
Johannes Hoppe edited this page May 5, 2017
·
4 revisions
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.
{
"$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": {}
}
}
In example, this adds a new component:
ng g c test