I'm attempting to utilize Bootstrap 5 variables in my custom styles.scss file. I have integrated the entire Bootstrap 5 source code into my project. I have noticed that I need to import specific .scss files in my styles.scss file for it to function correctly (which I have done):
@import "bootstrap/scss/_functions.scss";
@import "bootstrap/scss/_variables.scss";
@import "bootstrap/scss/_mixins.scss";
I have followed the order as recommended on the official Bootstrap page. However, I keep encountering the following error:
Error: Can't find stylesheet to import.
╷
1 │ @import "bootstrap5/scss/_functions.scss";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
sass/styles.scss 1:9 root stylesheet
Only the first line of my imports appears in the error. What could be causing this issue? How can I resolve it?