Example meteor compilation of custom bootstrap less?

I would like to use a meteor with some custom bootstrap less.

Can someone share an example meteor project that is configured to compile custom boot files without it?

Or I need to use an external preprocessor without output. (In other projects, I use LiverReload for this) in conjunction with a meteor?

It would be nice if the collector had less compilation under one roof, decorated with a meteorite.

Any insight is greatly appreciated! -j

+6
source share
4 answers

It is still not possible to directly include a vanilla file with fewer source files directly in the source file, since a smaller package combines fewer files in parallel and thus breaks links to files with transverse @variables files.

+4
source

you can add less support through

meteor add less 

Hope this helps!

+7
source

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

Good luck

+1
source

Instead of using LESS, you can use the node.js (imo superior) Stylus CSS preprocessor.

Use bootstrap-stylus instead of LESS bootstrap.

Then add the stylus-mixin that was created to solve this problem, and allows you to use all the features of the stylus, mixins and variables.

0
source

Source: https://habr.com/ru/post/921605/


All Articles