ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Bower

by benschwarz ALL

Install Bower packages from within Sublime

Details

  • 2014.07.10.13.30.55
  • github.​com
  • github.​com
  • 10 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 23K
  • Win 13K
  • Mac 8K
  • Linux 3K
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Bower, for Sublime Text

This is a plugin for Sublime text, it will allow you to install packages via Twitter's Bower tool.

Want to learn about the available packages? Check Bower components

How to use

Run the command “Bower install” to get a list of packages from the canonical bower repository. Packages will be installed the current working directory.

Want to know more about Bower, or this plugin in action? Checkout my screencast.

Installation

  • Install bower using NPM: npm install bower -g
  • Ensure that the bower binary is available in your path (type bower into your Terminal / Command prompt)
  • Install msysgit (Windows only)

Sublime Package Control allows you to easily install or remove sublime-bower (and many other packages) from within the editor. It offers automatically updating packages as well so you no longer need to keep track of changes in sublime-bower.

  • Install Sublime Package Control (if you haven't done so already) from http://wbond.net/sublime_packages/package_control

  • Bring up the command palette (default ctrl+shift+p or cmd+shift+p) and start typing Package Control: Install Package then press return or click on that option to activate it. You will be presented with a new Quick Panel with the list of available packages. (Search for “Bower”)

Alternately, instead of using Package Control, you can manually install sublime-bower (be aware, you'll have to fetch updates yourself):

On Mac OS X, in your Terminal:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
  git clone git://github.com/benschwarz/sublime-bower.git Bower

On Windows, inside a command prompt (cmd.exe):

Error: language “cmd” is not supported
cd "%APPDATA%\Sublime Text 2\Packages"
  git clone git://github.com/benschwarz/sublime-bower.git Bower

Platforms

  • Works on Sublime text 2 & 3
  • Works on Mac, Linux & Windows

Contributing

  • Check the issue list to find something to help with
  • Add any implementation queries, ideas or psudeo code
  • Fork the project, work in a topic branch
  • Send a pull request
  • You the boss now, dawg

Contributors

Licence

Licenced MIT.