Using bootstrap 4 classes in scss files

So i’m trying to use bootstrap classes in my scss files but they don’t get found and throw an error during compiling.

I’m trying to use Hiding Elements, d-none;

The error i get is

         messageOriginal: Invalid CSS after " text-hide();": expected "}", was ".d-none;"

But when i comment out the issue and compile the css is can see the class .d-none in dist/styles/main.css. In fact i can see all these ‘helper’ classes!

Any ideas?

It’s hard to troubleshoot your issue without seeing any of your code. Is this the code you’re talking about?

If so, you’re writing it as though it were LESS, not scss. You need to use @extend.

1 Like

crap - thanks - bad day!