SCSS no funciona con Storybook
yarn add -D @storybook/preset-scss
yarn remove sass-loader style-loader css-loader
yarn add -D [email protected] [email protected] [email protected]
// .storybook/main.js
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/preset-scss',
],
};
Hakuna Matata