How to rename a service created by @ Angular / cli using the command

I am creating a service team-secret.serviceusing the command n g s team-secret But now I want to rename it team.serviceusing the command.

Any help would be appreciated.

+4
source share
1 answer

Angular CLI does not currently support renaming or code refactoring. You can achieve this functionality with some IDEs.

You can use Microsoft Visual studio code to achieve this with the plugin.

More information can be found here.

0
source

Source: https://habr.com/ru/post/1676825/


All Articles