5

So, I'm using bower 1.2.2 to manage my client side libraries for the first time. My app is a simple node app, and I can't decide where to initialize bower. Here's my file structure:

|____gruntfile.js
|____package.json
|____server.js
|____static
| |____index.html

Should I initialize bower in the root next to gruntfile.js and package.json, or should I do it in my static directory. Any advice is greatly appreciated!

Dan Quinn
  • 111
  • 2
  • 6

1 Answers1

1

IMHO you can have that on the root where other tasks files are added. This way your bower_components will also reside on the root folder along with node_modules.

V31
  • 7,626
  • 3
  • 26
  • 44