Add include paths for bootstrap sass and avoid to import an entire path

in the sass file
This commit is contained in:
Chocobozzz 2015-12-04 16:17:46 +01:00
parent 0b69752270
commit c158027179
2 changed files with 4 additions and 1 deletions

View file

@ -70,6 +70,9 @@ module.exports = function (grunt) {
}
},
sass: {
options: {
includePaths: [ 'node_modules/bootstrap-sass/assets/stylesheets/' ]
},
dev: {
files: {
'public/stylesheets/global.css': paths.scss

View file

@ -1,6 +1,6 @@
$icon-font-path: "/stylesheets/vendor/fonts/bootstrap/";
@import "../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
@import "_bootstrap";
body {
padding: 20px;