Installing Dependencies with Bower

This procedure describes how to install dependencies in a project using Bower.



Zend Studio's integration with Bower will only function correctly if these prerequisites are met.



Instructions on how to complete a procedure

To create a new bower.json file (if one is not present yet):

  1. In the menu-bar, go to File | New... | Other... | JavaScript | Bower Init.
    The Bower Initialization Wizard is displayed.

  1. Click Finish.
  2. The bower.json file is created and opened in the JSON editor.

  1. Use the JSON editor to add new dependencies.



Instructions on how to complete a procedure

To install dependencies with Bower:

  1. Right-click on the project in the Project Explorer view and select Run As | Bower Install from the context menu.

The defined dependencies are installed in the project.