By following this tutorial,
https://github.com/christianalfoni/react-webpack-cookbook/wiki/Loading-CSS#component-specific
i tried implementing this logic, this is how it is implemented.
This is how it is rendered on the web,
As you can see the problem, css is not applied for the navbar class, because classname is rendered as ".app-components-navbar-navbar-navbar-wrapper". but the classname should be "navbar-wrapper"
- How to resolve this?
- Is this how it supposed to work?
- How can i achieve component specific css?