将bower组件单独安装到目录

时间:2016-08-02 09:07:11

标签: twitter-bootstrap-3 bower bower-install

{
  ...
  "dependencies": {
      "bootstrap": "latest",
      "backbone": "latest"
  },
  "install": {
  "path": "src/libs",
  "sources": {
      "bootstrap": [
        "bower_components/bootstrap/dist/css/bootstrap.min.css",
        "bower_components/bootstrap/dist/js/bootstrap.min.js",
        "bower_components/bootstrap/dist/fonts/*"
      ]
  }
}

我想将bootstrap安装到src/libs/bootstrap/css/(css文件),src/libs/bootstrap/js/(js文件),src/libs/bootstrap/fonts/(资产文件), 但除了backbonejs

我也使用bower-installer

0 个答案:

没有答案