Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Example of meteor compiling custom bootstrap less?

I'd like to use meteor with some custom bootstrap less.

Can anyone share an example of a meteor project that is setup to compile custom bootstrap .less files?

Or do I need to use external .less preprocessor (In other projects I use LiverReload for this) in concert with meteor?

Would be nice if the bootstrap less compilation was under one meteor flavoured roof.

Any insight much appreciated! -j

like image 582
James Avatar asked Jul 29 '12 14:07

James


3 Answers

you can add less support via

meteor add less

Hope that helps!

like image 90
Jörn Avatar answered Nov 14 '22 10:11

Jörn


So far it is not possible to directly include the vanilla bootstrap less source files in a meteor project because the less package only compiles less files in parallel and thus breaks cross-file @variables references.

like image 35
Gregor Avatar answered Nov 14 '22 09:11

Gregor


I can't vouch for it myself but it looks like this is what you are asking for: https://atmosphere.meteor.com/package/bootstrap3-less (see the github link if you don't use meteorite but you probably should).

Best of luck!

like image 1
Shwaydogg Avatar answered Nov 14 '22 10:11

Shwaydogg