BowerInjector
A sublime text plugin to inject bower dependencies inside index.html
Details
Installs
- Total 1K
- Win 894
- Mac 226
- Linux 167
| Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 
Readme
- Source
- raw.githubusercontent.com
sublime3-bower-Injector
A sublime text 3 plugin that inject all bower dependencies in the index.html page of the current project
Screenshot

Dependencies
you should have python 3 already installed on your machine and Sublime text 3.
Installation
In order to install this plugin you have two options, the manual option and the package control one(the easy choice)
Manually
You can easily install this plugin manually, simply download the zip file and extract it to sublime text Packages folder
Package Control
Installation through package control is recommended. It will handle updating your packages as they become available. To install, do the following.
- In the Command Palette, enter Package Control: Install Package
- Search for BowerInjector
How does it work ?
Now the plugin is installed and ready to be used. Let's say that you have a project organized like the following:
myProject/
├── otherStuff/
├── bower_components/
│   ├── jquery/
│   ├── bootstrap/
│   └── ...
│
├── bower.json  
└── index.html
simply add bower:css or bower:js to index.html depending on what you want to load, generally we want to load them both so we end up with something like that :
<html>
  <head>
  </head>
  <body>
  </body>
</html>
Bonus :
Now you can use bower_css or bower_css then hit tab  to complete the snippet automatically rather than completing it manually  
Run the plugin
You have two options :
* Hit ctrl + y   to execute the plugin( you can change the key )
* Fire up the command palette ctrl + shift + p and type bower injector and press enter
TODO
- Inject dependencies in the right order (for example bootstrap depends on jquery ).
- Possibility to pull in minfied versions(if exist).
- Possibility to inject just specific package.