我正在寻找一种将选项文件传递给wiredep的简单方法,它允许我在angular之上设置jquery,到目前为止,它是通过依赖项工作的,因此它在底部设置jquery。
我作为选项传递:
var options = {
bowerJson: require('./bower.json'),
directory: './bower_components/',
ignorePath: '../..'
};
devDependencies 设置为 True,我在文档中找不到任何允许我执行的参数
最佳答案
我最终明确地声明了这些:
var options = [
'css/component*.css',
'css/global.css',
'css/main-custom.css'
]
并将其传递给 gulp 管道
gulp.src("/*.html").pipe(options)....
关于gulp - 连线 gulp ,文件顺序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35040856/