Bower sets dependency to a specific subdirectory

How to set dependency in a specific subdirectory using Bower? I am working on an AngularJS-based application that requires localization. One of the libraries I use is looking for localization files in angular / angular_i18n. However, I am developing Angular 1.2 rc3, and the localization files are not part of the package, so I have to install them separately.

How do I install bower install angular -i18n in / angular / angular-i18n / components?

Help will be fully appreciated.

+1
javascript angularjs bower
source share
2 answers

You can not. Bower uses one place to store packages. However, you can use tools like one of these grunt tasks to copy it during the build phase.

+9
source share

you can also try using this plug: https://github.com/hyperweb2/upt

which also implements a subdirectory installation function

0
source share

All Articles