1

How to rename Angular 6 project name, please?

When I do a search for the project name, it has 16 results in 6 files. If I just renamed will it all work fine?

Or do I need to create a new project with the new name and then move the files?

enter image description here

Jay
  • 9,189
  • 12
  • 56
  • 96
  • 3
    Try and tell us :) – SeleM Nov 20 '18 at 15:20
  • Seems link a duplicate... [Q1](https://stackoverflow.com/questions/45891832/how-to-rename-an-angular4-angular2-project-folder/49251979) [Q2](https://stackoverflow.com/questions/50445373/how-to-rename-angular-app) – erikvimz Nov 20 '18 at 15:22
  • @Eric Thanks, I have checked those already. – Jay Nov 20 '18 at 15:27

1 Answers1

2

As per my screenshot in the original question, I did search & replace the old project name with the new name, in all those 16 results from 6 files.

And I renamed the project folder name with the new name. It works as expected so far.

Jay
  • 9,189
  • 12
  • 56
  • 96
  • I was trying to install pwa feature to an angular 6 app, and did not create/update the expected files. Turned out the base app name was a different one than the intended one (it was a cloned repo that had the root folder renamed), and doing a name replace fixed it. – j4v1 Feb 06 '19 at 01:08