Kemoke / ReactCssModules

3 stars 0 forks source link

Unknown class name "class--name" #3

Open RebootGG opened 2 years ago

RebootGG commented 2 years ago

Hi,

I'm using the (S)CSS modules approach with a BEM naming convention (block--modifier)

The following error message appears : "Unknown class name "header--shrunk"" .

Code works fine and CSS Class does exist.

screenshot of the error:

image

SCSS module file looks like this :

image

I'm running webstorm on last version, on macOS on last version too.

Happy to provide more details if needed.

Q-Peppa commented 2 months ago

@RebootGG i try to slove this , and write anthor plugins https://plugins.jetbrains.com/plugin/25233-react-css-module-all/versions/stable/599113