I am using Angular CLI to support multiple applications within one project.
"apps": [
{
"name": "app1",
"root": "src/app1",
"outDir": "dist/app1",
.
.
},
{
"name": "app2",
"root": "src/app2",
"outDir": "dist/app2",
.
.
}
]
But when I am running following command to generate a service
C:\POC\test1\src\app1\app>ng g service test --app=app1
Service is generated like this
create src/app1/src/app1/app/test.service.spec.ts (362 bytes)
create src/app1/src/app1/app/test.service.ts (110 bytes)
This is not correct. It should create like
create src/app1/app/test.service.spec.ts (362 bytes)
create src/app1/app/test.service.ts (110 bytes)
Am I doing something wrong?