I
I
Ivan-P2015-10-08 00:41:36
Angular
Ivan-P, 2015-10-08 00:41:36

Folder structure of generator-gulp-angular?

After installing generator-gulp-angular, a folder structure that was completely incomprehensible after gulp-webapp opened up.
7147f11104794f1d82d81b1a6c9e3fbe.png
What can be removed from this so as not to disrupt the work of the adder, where to put your html, css, js files?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-10-08
Protko @Fesor

What can be removed from this so as not to disrupt the work of the adapter

figure it out, most likely it's enough to remove the modules from index.modules.js
but as in your picture, breaking down by components. Each component has its own html, its own js (usually two - a module and a directive, some take out a controller directive) ... In a
word ...
https://www.airpair.com/angularjs/posts/component-...
https://github.com/johnpapa/angular-styleguide

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question