Question

I installed the generator-angular, but decided to change the name of my app midway. Now when I generate any module it gets the wrong name attached to it. I tried Find+Replace of both myOldApp and my-old-app but I still get the old name. Where do I change it?

Was it helpful?

Solution

Yeoman/Yo: Where does Yo scaffolding pickup the name of the Angular module?

suggests it is in the bower.json.

worked for me.

OTHER TIPS

go to your app ->open bower.json-> there will be a name field change it there

We changed it in our package.json. It'll remove the generator-

{
  "name": "generator-foobar"
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top