Bowerのデフォルトのコンポーネントフォルダを変更するにはどうすればよいですか?
twitterのbowerを使った新しいプロジェクトを作っています。component.jsonjqueryのようにすべての依存関係を維持するためにを作成しました。次にbower install、という名前のフォルダーにすべてをインストールするコマンドを実行しますcomponents。しかし、コンポーネントを別のフォルダにインストールする必要がありますpublic/components。 私はcomponents.jsonを次のように編集してみました: { "name": "test", "version": "1.0.0", "directory": "public/", "dependencies": { "jquery": "*" } } または: { "name": "test", "version": "1.0.0", "componentsDirectory": "public/", "dependencies": { "jquery": "*" } } https://github.com/twitter/bower/pull/94に示すように、機能しません。