Swiip / generator-gulp-angular

Yeoman generator for AngularJS with GulpJS [UNMAINTAINED next iteration is FountainJS]
http://fountainjs.io
3.72k stars 665 forks source link

add new module #1105

Open gangadharjannu opened 8 years ago

gangadharjannu commented 8 years ago

Hi, Finally a nice generator for angular which follows angular 1.3 and higher versions.

How can I add a new module to the existing application which was generated by generator-gulp-angular. I've tried to add login module with controller and few styles however when I run 'grunt serve' command nothing is happening (controller got undefined, styles are not at all applying).

Is there anything do I need to do to add new files(controllers, directives, style sheets)? if yes could you share the procedure of how to add a new module?

Swiip commented 8 years ago

If you're looking for component generators, we don't have them (#793)

If not, it's a normal Angular app, just create modules and place them as dependencies of your main module.

aforanil commented 8 years ago

No I'm not looking for sub-generators. Previously I've tried to add few CSS files and they are not included in the index.html so I thought there is another way of doing things and that's why I've opened a new issue. However I've tried to add the same in LESS file and it is working.

Swiip commented 8 years ago

Is there anything useful to you there https://github.com/Swiip/generator-gulp-angular/blob/master/docs/user-guide.md#file-injection ?