Remove Bootstrap components

Hi,

i was just trying to kick out some of the Bootstrap components which i dont need to get my project more slim.
I watched the screencast about wiredeps, where the bootstraps components are loaded in the bower.json.

In the the newest version this “bootstap” part is not in the bower.json – so i was wondering, how and where the components are loaded and where i could remove for example the css and the js for the carousel components.

Thanks.

1 Like

Yes it is, but it’s called bootstrap-sass-official:
https://github.com/roots/sage/blob/master/bower.json#L23

You follow the same procedure as you did with the LESS version.

That covers the js, but how would I correctly remove the SCSS?

Without removing _bootstrap.scss: @import "bootstrap/carousel"; from bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss?

4 Likes