0.2.0 • Published 13 years ago
awesomebox-bower v0.2.0
awesomebox-bower
Bower plugin for awesomebox
Installation
Just add "awesomebox-bower" to the plugins array in your awesomebox.json file.
This package does not include bower. You can install bower globally with npm install -g bower.
Usage
In you html files you can use bower:component-name:filename in your link and script tags to reference files in your bower components.
For instance, if you're using jquery and your index.html file and it originally looked like this:
<!DOCTYPE html>
<html>
<head>
<script src="/components/jquery/jquery.min.js"></script>
</head>
<body>
</body>
</html>You could replace the script src like this:
<!DOCTYPE html>
<html>
<head>
<script src="bower:jquery:jquery.min.js"></script>
</head>
<body>
</body>
</html>License
Copyright (c) 2013 Matt Insler
Licensed under the MIT license.