How do I install a dependency into a specific subdirectory using Bower? I'm working on an application built on AngularJS that requires localization. One of the libraries I'm using is looking for localization files in angular/angular_i18n. However, I'm developing with Angular 1.2 rc3 and the localization files are not part of the package so I have to install them separately.
How can I bower install angular-i18n into ponents/angular/angular-i18n/?
Help would be totally appreciated.
How do I install a dependency into a specific subdirectory using Bower? I'm working on an application built on AngularJS that requires localization. One of the libraries I'm using is looking for localization files in angular/angular_i18n. However, I'm developing with Angular 1.2 rc3 and the localization files are not part of the package so I have to install them separately.
How can I bower install angular-i18n into ponents/angular/angular-i18n/?
Help would be totally appreciated.
Share Improve this question asked Oct 23, 2013 at 21:29 JazzuzzJazzuzz 4906 silver badges12 bronze badges 1- 2 You can also just provide a .bowerrc file as mentioned in [this post][1] [1]: stackoverflow./questions/19671533/… – krico Commented Oct 28, 2014 at 19:30
2 Answers
Reset to default 9You can't. Bower uses a single location to store packages. However you can use tools like one of these grunt tasks to copy it over in the build-step.
you can also try to use this fork: https://github./hyperweb2/upt
that also implements subdirectory installation feature