Set Custom Path to Bower Components Directory

Last modified: 
Thursday, October 27th, 2016
Topics: 
Bower

How to configure Bower to install components somewhere other than the bower_components directory.

Create a file .bowerrc and add the following (where src/components is the relative path from bower.json to your preferred components directory).

{
  "directory": "src/components"
}


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.