Closed Aryan-mor closed 4 years ago
This should be addressed directly to the author of the library, since this is only a wrapper. https://github.com/ganlanyuan/tiny-slider
@jechav I don't think this is an issue with tiny-slider. The original implementation doesn't load the css by default it explicitly delegates to the consumer to load the CSS. The issue with your wrapper is that it makes an assumption about how every app is loading CSS.
This issue should be resolved by simple removing the line that loads the CSS, ship the compiled css to npm, then updating instructions to let users now that they should load the CSS themselves.
Error on using tiny slider react in NextJs.