-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCSS boostrap path error when installing from npm #298
Comments
@alanbernale @polynar |
What do you mean direct use? Please tell me if I see the things wrong. |
@polynar |
When installing from npm, importing into project sass files and loading using webpack, it throws the following error:
SassError: File to import not found or unreadable: ../node_modules/bootstrap/scss/bootstrap.scss. on line 3 of node_modules/sleek-dashboard/scss/sleek.scss
Archivo sleek.scss en node_modules/sleek-dashboard/scss:
@import "../node_modules/bootstrap/scss/bootstrap.scss";
The error can be corrected by changing the path to:
@import "~bootstrap/scss/bootstrap";
The text was updated successfully, but these errors were encountered: