Search code examples
angularjsnpmyeomanyeoman-generator

What's the relationship between Yeoman's generator-webapp and generator-angular?


Does generator-angular always depend on installing generator-webapp first? I don't see generator-webapp in generator-angular's dependencies, yet on the Yeoman front page it did say running npm install -g generator-webapp before npm install -g generator-angular? What happens if I don't run npm install -g generator-webapp?


Solution

  • Does generator-angular always depend on installing generator-webapp first?

    Nope, these are two separate generators. If you want to make a generic "webapp", you would use the webapp generator. If you want to make an Angular app, use generator-angular.

    Can you point to the specific area of the website that tripped you up? We're always looking to improve the docs.