React CSS Module cant connect
I want use 2 classes on 1 components React. its both has own module css self. i check there no typo on filename and props but css doesn’t attach.
I want use 2 classes on 1 components React. its both has own module css self. i check there no typo on filename and props but css doesn’t attach.
New to React:
I’m currently using CSS Modules with React for my styling. So each of my components is importing in it’s component specific css file, like so:
I want to use the css-loader with the ‘modules’ option of webpack in a React application written in Typescript. This example was my starting point (they are using Babel, webpack and React).
I have 2 same components, which are a little different in styles, so I want to reuse common styles, but don’t want to use global CSS for them, how can I achieve it?