Skip to content

Additional Bower Support

Latest
Compare
Choose a tag to compare
@jesseweed jesseweed released this 26 May 22:45
· 26 commits to master since this release

You can now add any bower module when creating a new app with the --bower flag. Simply put a comma separated list of Bower packages (in quotes). For example, to install jQuery, Foundation, Backbone.js & Head.js:

$ tesla myapp --bower "jquery, foundation, backbone, headjs"

This will add all 4 packages to your bower.json file. When the app has been created, run the following command:

$ cd myapp && npm install && tesla install

This will install all npm & bower packages. "tesla install" will also attempt to automatically inject links to all your bower packages into you html templates (stylesheets in the head, script in the footer).