-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scss module is not working[Bug] #188
Labels
bug
Something isn't working
Comments
Here's my module.exports = {
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
{
name: "@storybook/preset-scss",
options: {
cssLoaderOptions: {
modules: {
auto: true,
},
},
},
},
],
}; |
I've tried |
I have the same problem with [email protected] and webpack@5. |
Same problem on [email protected] and webpack@5 |
Actual have it working on another project the only difference being that is webpack@4 |
I ran into this issue on a Vue 3 project and this seems to be working for me:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I've tried to use scss so followed instruction to use
@storybook/preset-scss
on documentation and importing scss is workingbut scss module is not working.
Steps to reproduce the behavior
I implemented an example https://github.com/qkreltms/lerna-test1 (webpack branch)
clone my project and type
yarn install
to install all packagesand type
yarn storybook
Expected behavior
Should scss module is working (in the example button's background must be set pink)
Screenshots and/or logs
Environment
The text was updated successfully, but these errors were encountered: