Permalink
Browse files

Configure Bootstrap 4 using NPM

  • Loading branch information...
ck3g committed Feb 11, 2018
1 parent 33eddf4 commit 1a1d3568656946b05135af022776cd03607422a5
View
@@ -20,7 +20,10 @@ exports.config = {
// }
},
stylesheets: {
joinTo: "css/app.css"
joinTo: "css/app.css",
order: {
after: ["priv/static/css/app.scss"]
}
},
templates: {
joinTo: "js/app.js"
@@ -47,6 +50,12 @@ exports.config = {
babel: {
// Do not use ES6 compiler in vendor code
ignore: [/vendor/]
},
sass: {
options: {
includePaths: ["node_modules/bootstrap/scss"],
precision: 8
}
}
},
@@ -57,6 +66,11 @@ exports.config = {
},
npm: {
enabled: true
enabled: true,
globals: {
$: 'jquery',
jQuery: 'jquery',
bootstrap: 'bootstrap'
}
}
};
@@ -1,2 +1,3 @@
/* This file is for your main application css. */
@import "bootstrap";
Oops, something went wrong.

0 comments on commit 1a1d356

Please sign in to comment.