【发布时间】:2013-06-17 04:16:54
【问题描述】:
是否可以在单独的目录中安装开发 Bower 组件,以便我可以将其添加到 .gitignore?
例如:
components
└─jquery
dev_components
└─bootstrap
【问题讨论】:
是否可以在单独的目录中安装开发 Bower 组件,以便我可以将其添加到 .gitignore?
例如:
components
└─jquery
dev_components
└─bootstrap
【问题讨论】:
不,但您可以轻松地将各个组件添加到您的 .gitignore:
components/bootstrap
【讨论】:
bower.json 的devDependencies 吗?
production 标志 bower install --production 来不安装 devDependencies。