clea generate service [name]

Generate a new service and register it in the closest parent module

Structure

The generated structure is as followed:

├── my-new-service.service.ts
├── my-new-service.service.spec.ts
└── parent.module.ts    <-- Register the component in the closest parent module

results matching ""

    No results matching ""