IN NODE.JS, HOW TO CHANGE BOWER’S DEFAULT COMPONENT FOLDER?

In node.js, how to change bower’s default component folder i.e. need to install the components in a different folder other than components folder.?

Create a Bower configuration file .bowerrc in the project root (as opposed to your home directory) with the content:

{
“directory” : “public/components”
}
Run bower install again.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>