Here is the code of my Button.module.css file:
.Button {
font: inherit;
font-weight: bold;
}
.Button:disabled {
color: #ccc;
cursor: not-allowed;
}
However this is the error I get when importing it into a file as import classes from './Button.module.css'
:
Cannot find module ‘./Button.module.css’. Did you mean to set the ‘moduleResolution’ option to ‘node’, or to add aliases to the ‘paths’ option?
What am I not understanding here? What’s wrong?