How do I correctly import Bootstrap using sass and use variables across different files
I have the following project structure: /resources /components component-a.js component-a.html component-a.scss /scss bootstrap.scss variables.scss my-app.js my-app.html my-app.scss I am using the aurelia framework, but I don't think that makes much of a difference here. I am also using webpack, with these loaders style-loader, cssLoader, postcssLoader, sassLoader. Hence, my webpack config looks like this: rules: [ ... { test: /\.scss$/i, use: [ 'style-loader', cssLoader, postcssLoader, sassLoader ] }, ... ] My bootstrap.scss file looks like this (I know that @import is deprecated, but it's th
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.