我使用bower 1.0.0运行以下命令:
mkdir testdir;cd testdir
bower init #accept defaults
bower install jquery -s #the -s is supposed to cause update of bower.json
less bower.json
Run Code Online (Sandbox Code Playgroud)
在bower.json中,我希望看到列出的依赖项,但没有.到底是怎么回事?
注意:bower install jquery --save确实有效
注意:我所指的选项是通过记录 bower help install
**-S**, --save Save installed packages into the project's bower.json dependencies
Run Code Online (Sandbox Code Playgroud)
gru*_*gru 375
从凉亭帮助,保存选项有一个资本S.
-S, --save Save installed packages into the project's bower.json dependencies
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
106105 次 |
| 最近记录: |