How to rename an Angular project?

前端 未结 5 720
北荒
北荒 2021-01-03 19:51

I renamed my Angular 4 project folder from auction-life to auction-05-life and replaced 3 occurrences of the old project name in:

5条回答
  •  无人及你
    2021-01-03 20:24

    With macOS you go to your angular project folder, and use sed command to replace old name by the new that you want:

    LC_CTYPE=C && LANG=C && find * -type f -exec sed -i "" "s/old-angular-project-name/new-name/g" {} +
    

提交回复
热议问题