Closed amitava82 closed 5 years ago
@amitava82 can you share your repository? So I can give it a try, I'm curious to see, as I never tried SCSS in the current setup (PostCSS it's much better for me).
I'm just trying out your boilerplate. You can simply add a .scss file and import to a view.
Pushed a quick fix: 3713ec7a80252700bad10f25fc052281cca6ae85
I tested and it is working now. Give it a try, let me know 😃
OK, now build works but scss import does not work right. Try this:
npm i bootstrap
@import "~bootstrap/scss/bootstrap";
<h1 className="text-success">Hi</h>
If you inspect the element then you'll see the style is missing. Bootstrap style is not importedLooks like it is suffixing stuff to the bootstrap classes, eg - a.about_s__text-success--3riMP:hover, a.about_s__text-success--3riMP
.
Importing .scss file throws error