0

I initialized a bower project under d:\myProject and if i run bower install angularjs the packages are copy in the same folder. But what i need to do is to copy the packages under d:\myprojects\src\resources\static. How can i do that?

Lakmal Vithanage
  • 2,767
  • 7
  • 42
  • 58

1 Answers1

1

Bower's docs tell you that adding the "directory" tag in your .bowerrc file will make bower put downloaded packages in that dir.

notice that the path is relative to where you have the project's json so in your case:

{
  "directory": "src/resources/static/"
  ...
}

Also see this answer and this one.

Community
  • 1
  • 1
danf
  • 2,629
  • 21
  • 28