You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
What do you mean direct use?
If someone doesn't want to use npm packages then use the compiled css in dist/assets folder and if you want to use scss and add customization to it use npm packages and install bootstrap package.
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: