angularjs - yeoman/哟 : Where does Yo scaffolding pickup the name of the Angular module?

标签 angularjs yeoman

我使用特定的模块名称创建了我的 Angular 应用程序,现在我决定更改它。

所以当我这样做的时候

yo angular:controller myController 

它创建
angular.module('MyTestModule')
Yo 在哪里想把这个捡起来,无论如何要更新它??

谢谢

最佳答案

在当前版本(Yeoman 1.0.4,generator-angular 0.4.0)中,名称似乎取自 "name"文件中的属性 bower.json .

关于angularjs - yeoman/哟 : Where does Yo scaffolding pickup the name of the Angular module?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17168131/

相关文章:

javascript 对象/变量问题

javascript - Yeoman Angular-Fullstack 新路由不重定向

javascript - 如何将 angularJS 与 Yeoman 的 webapp-generator 一起使用

node.js - laravel5 的 yeoman 生成器 - composer create-project 的问题

javascript - 按索引更新数组中的 JSON 键值

javascript - Angular Material md-toolbar 不粘连(md-scroll-shrink)

node.js - 我可以拥有每个项目的 Yeoman 生成器吗?

node.js - WebStorm 7 - Yeoman Angular 缺少源映射 `Failed to load resource: the server responded with a status of 404 (Not Found)`

angularjs - 复杂的非标准菜单布局和 ng-repeat

api - 具有 AngularJS 身份验证的 Semantics3 API