bootstrap-rubygem icon indicating copy to clipboard operation
bootstrap-rubygem copied to clipboard

Sass::SyntaxError Undefined mixin 'make-xs-column'.

Open tuxtux59 opened this issue 7 years ago • 2 comments

Hi,

I'm trying to upgrading from bootstrap-sass to bootstrap (bootstrap-sass do not allow v4 features) I keep aside all errors I had due to sass conflicts (major with rails_admin)

So as I speak my project is stuck due to Sass::SyntaxError Undefined mixin 'make-xs-column' despite I had mixins to my sass file

here is a piece of my application.scss file: @import "bootstrap/functions"; @import "bootstrap/variables"; @import "bootstrap/mixins"; @import 'bootstrap-datepicker'; @import 'bootstrap';//added as last as it's recommended on readme

I use these gems gem 'bootstrap', '~> 4.1.0' gem 'jquery-rails' and my rails version is 2.3.1p112

Did someone has a solution to fix this error?

Thanks

tuxtux59 avatar Apr 18 '18 14:04 tuxtux59

@glebm I think this is a problem in bootstrap 4 with version 4.1.1 of the gem. Here's what I have:

//= require jquery3
//= require popper
//= require bootstrap-sprockets
//= require jquery_ujs
@import "bootstrap-overrides";
@import "bootstrap";
$primary-color: #2c88c5;
$theme-colors: (
  "primary": $primary-color,
  "info": #3E97D7
);

abrambailey avatar Jun 22 '18 17:06 abrambailey

I also tried adding the following, but I get the same error.

@import "bootstrap/functions";
@import "bootstrap/variables";
@import "bootstrap/mixins";
@import "bootstrap-overrides";
@import "bootstrap";

abrambailey avatar Jun 22 '18 17:06 abrambailey