Bootstrap: Add by yourself vs. package


#1

Hey there,

Can anyone tell us what the pros & cons are of adding bootstrap as a package vs. adding it by yourself in the compatibility folder ?


#2

Why would you do that ?

Pros : already packaged, one line integration : meteor add twbs:bootstrap , automatic updates and issue tracking.

Cons (updated) : you need a significant subset of bootstrap (in this case you can fork twbs package, rename it pacific:bootstrap , replace xxx.min.js with your bootstrap subset and put it as a custom package in packages/, and meteor add pacific:bootstrap.


#3

The unminified bootstrap JS + CSS files are over 200kb. If you want to customize bootstrap to remove unused features and reduce that size, then I think you would need to add it yourself.


#4

Here’s a good cross between the two. Customize with Less, choose what to include, and add with a package.

http://www.manuel-schoebel.com/blog/meteorjs-and-twitter-bootstrap---the-right-way


#5

This popular bootstrap package is also highly customizable.

https://atmospherejs.com/nemo64/bootstrap