laravel-mix-react-css-modules
laravel-mix-react-css-modules copied to clipboard
Possible to include a global SASS-File?
Hello,
is it possible to include a global .scss file (with variables and mixins) and use the variables/mixins in a styles.module.scss file?
Yes! You can create a global file and a set of mix-ins, and then import them in each individual CSS Module file using the SASS-standard @import
rule (see https://sass-lang.com/documentation/at-rules/import).