neal-react icon indicating copy to clipboard operation
neal-react copied to clipboard

problems with import bootstrap in base.scss

Open GiladShoham opened this issue 8 years ago • 1 comments

The current import is

@import '../node_modules/bootstrap/scss/bootstrap';

But with npm 3 if you use bootstrap in your app it will most of the time will be in the main node_modules folder instead of inside neal-react. Then the import should be (one folder up)

@import '../../node_modules/bootstrap/scss/bootstrap';

GiladShoham avatar Nov 06 '16 14:11 GiladShoham

Had to update my base.scss with @import "~bootstrap/scss/bootstrap";

That did the trick for me

katesclau avatar Oct 04 '17 00:10 katesclau