Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This is a documenation for this sub-theme using grunt + bower.
Bootstrap grunt is a subtheme to the drupal bootstrap project and putting grunt and bower into use.
The idea behind this sub-theme to ease package management for theme developers and
give them the control to choose which processor port of twitter bootstrap
they would want to use.
Examples:
The use of Grunt:
- Local pre-processor for LESS, SASS or stylus utilising node.
- Livereload support ( tested in a local installation ).
- Giving you control over which instance of bootstrap you would want to
install. Whether it be LESS, SASS och stylus. All this using node as your
local processor.
The use of bower:
- For you to configure necessary dependencies and their versions that are
necessary for your theme.
Future development:
- Nothing will happen until you actually test this and give me your feedback!
- I'm open to your ideas on what you would want in this sub-theme, since you
are the main user of this theme.
Installation:
- Download bootstrap!
npm install
bower install
the bower install
command has a requirement of jQuery, so it comes along
when you run this. Since (drupal) bootstrap is using drupals internal jQuery version,
feel free to delete the jQuery folder or run the following command instead:
bower install && rm -r components/jquery
Now your theme is ready almost ready to be used.
Configure First!
Making use of livereload ( local installation ):
- Add the following script in your
<head>
<script src="http://localhost:35729/livereload.js"></script>
- Uncomment the following code in the
Gruntfile.js
// ------------------------ // , options : { // livereload : true // } // ------------------------
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - Created by adnasa on , updated