I am using Sass with Bootstrap 4, and now I'm facing an issue in my Sass folder where I have an app.scss file that includes:
@import _customVariables.scss
@import node_modules/bootstrap/scss/functions
@import node_modules/bootstrap/scss/mixins
However, when I compile the Sass file, I encounter the following error:
sass --watch app.scss:style.css
Error: Expected string.
@import _customVariables.scss
^
app.scss 1:9 root stylesheet
Since I'm new to Sass, can anyone explain why it's not importing the files correctly?
I noticed that it works only when I import the entire Bootstrap like this:
@import "../node_modules/bootstrap/scss/bootstrap"
Any assistance on this matter would be greatly appreciated.