我想在余烬项目中使用https://github.com/MrRio/jsPDF。我想将jsPDF导入为依赖项,因此我以这种方式开始:
bower install git@github.com:MrRio/jsPDF.git --save
不幸的是,我无法从plugins目录安装文件,因为"plugins/*"
bower.json文件中的目录被忽略了。我尝试过以这种方式覆盖它,但是没有成功。
"overrides": {
"jspdf": {
"ignore": [
"**/.*",
"libs",
"CNAME",
"jspdf.js",
"examples/jspdf.PLUGINTEMPLATE.js",
"todo.txt",
"wscript.py",
"build.sh",
"test",
"tools"
]
}
}
Run Code Online (Sandbox Code Playgroud)
请你帮助我好吗?