Search
 
SCRIPT & CODE EXAMPLE
 

CSS

scss not working with storybook

yarn add -D @storybook/preset-scss
yarn remove sass-loader style-loader css-loader
yarn add -D sass-loader@10.1.1 style-loader@2.0.0 css-loader@5.2.6
  
// .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',
  ],
};
Comment

PREVIOUS NEXT
Code Example
Css :: text break css 
Css :: css transparent input text box 
Css :: schatten css 
Css :: center image css 
Css :: centre div vertically and horizontally 
Css :: css content image 
Css :: tailwind input field hide arrows 
Css :: size carousel bootstrap 4 
Css :: box shador of one border css 
Css :: how to remove border on button click 
Css :: centred div 
Css :: jquery css multiple 
Css :: css grow animation 
Css :: css disable mouse events 
Css :: transition shorthand css 
Css :: how to verticaly align items in a HTML container 
Css :: css last of type 
Css :: css placeholder text truncate 
Css :: lightred color hex 
Css :: mat slider custom color 
Css :: select html stop blue border 
Css :: codeigniter return last inserted id 
Css :: change br height 
Css :: css html unterstreichen 
Css :: read properties from css file 
Css :: css transition slide up 
Css :: comments in css 
Css :: html5 input required length 
Css :: postcss-preset-env: end value has mixed support, consider using flex-end instead 
Css :: css opacity example 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =