
So you created your NextJS app without selecting the SASS option when configuring it. I know right. It’s frustrating. Look no further. The solution is very simple. Just install the sass package as a dev dependency using the command below.
* Using npm
npm install --save-dev sass
* Using yarn
yarn add sass -
Now you can start importing your scss files into your jsx/tsx files or saving your css modules with the .scss extension.
Good luck and have fun.