This package integrates bootstrap into meteor and lets you configure what parts you need.
- execute
meteor add nemo64:bootstrap less - create an empty
custom.bootstrap.jsonfile somewhere in your project. (/client/lib/custom.bootstrap.jsonfor example) - start meteor and then edit the file you just created (see custom.bootstrap.json).
- (optional) edit
custom.bootstrap.import.lesswhich now appeared next to the json file
This file is to configure which bootstrap parts you need in your project. Set those you like to true!
If the file is empty, it will be filled for with the following content:
{
"modules" : {
"normalize" : true,
"print" : false,
"glyphicons" : false,
"scaffolding" : false,
"type" : false,
"code" : false,
"grid" : false,
"tables" : false,
"forms" : false,
"buttons" : false,
"component-animations" : false,
"dropdowns" : false,
"button-groups" : false,
"input-groups" : false,
"navs" : false,
"navbar" : false,
"breadcrumbs" : false,
"pagination" : false,
"pager" : false,
"labels" : false,
"badges" : false,
"jumbotron" : false,
"thumbnails" : false,
"alerts" : false,
"progress-bars" : false,
"media" : false,
"list-group" : false,
"panels" : false,
"responsive-embed" : false,
"wells" : false,
"close" : false,
"modals" : false,
"tooltip" : false,
"popovers" : false,
"carousel" : false,
"affix" : false,
"alert" : false,
"button" : false,
"collapse" : false,
"scrollspy" : false,
"tab" : false,
"transition" : false,
"utilities" : false,
"responsive-utilities" : false
}
}When upgrading, you may get an error stating:
While building the application:
client/lib/custom.bootstrap.less:1629:18: Less compiler error: variable @form-group-margin-bottom is undefined
If so, See Nemo64#42 for the fix.
Contributions are always welcome. I'm also searching for collaborators becuase I'm currently not actively deveolping with meteor. If you area interested, write me at git@marco.zone
This package is licensed with the MIT license. Also, look at the Bootstrap license.
This package is based on and inspired by the bootstrap3-less package. I created a new repository because it takes a completely different approach now which is also incompatible.