Answer the question
In order to leave comments, you need to log in
Where can I get gulp scripts for developing an angular application with modules?
I would like to have a set of gulp tasks / scripts that can:
src/
app/
index.html
*.js
*.css
assets/
картинки или что-нить ещё
foo/
module.js
*.js
assets/
картинки или что-нить ещё
bar/
module.js
*.js
assets/
картинки или что-нить ещё
dist/
app/
index.html
app.js
app.css
templateCache.js
foo/
foo.js
foo.css
templateCache.js
assets/
картинки или что-нить ещё
bar/
bar.js
bar.css
templateCache.js
assets/
картинки или что-нить ещё
Answer the question
In order to leave comments, you need to log in
It seems to me that this is a rather rare need, in terms of assembly by modules. it will be faster to look at the gulp doc and change the prefabricated tasks a little for the desired effect (in fact, you just need to change the mapping of the incoming and outgoing file paths)
you can look at the NG6-starter-master or NG6-todomvc-starter git or other builds from the same author ( https://github.com/AngularClass/NG6-starter/blob/m... ) and finish them for yourself. there is also yeoman angular. templateCache really increases performance? I think to try it, but I don’t really want to increase the initial load time
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question