Suppose I create a component with a certain name, let's say 'Car', and I want to change its name to 'Bicycle', meaning that the file names that create this component will be changes and so does the name of the class and the imports used in the current code, is there any "quick" way to do it by CLI ?
Asked
Active
Viewed 3,202 times
2
-
You should do it manually change class name file name everywhere it exported and imported and update the class name in NgModule – Babar Hussain Mar 15 '17 at 12:22
-
Check this solution: https://stackoverflow.com/a/49631019/4654957 – Diego Venâncio Apr 03 '18 at 13:15