Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
For this kind of task, you will need any assembler for which there is a wiredep package.
Next, you set up watch to listen for bower.json changes, and if a change has been detected, you run a task with the wiredep package.
In the jade file itself, you will have to add two lines:
# если JS
// bower:js
// endbower
# если CSS
// bower:css
// endbower
Я бы посоветовал собирать все js файлы в один и подключать один файл. Вот Неплохой материал по теме
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question