You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the error Module not found: Can't resolve 'styled-components' when i first tried to implement the module in my Nextjs app.
I did not see any note regarding dependencies in the Readme docs so i assumed it would work out of the box.
My project does not use any CSS-in-js solution but rather depends on Tailwind and custom simple CSS so i am not too keen on adding styled-components just for one module.
Having a look at the demo here, the screen does not look overly complex and could be built with simple CSS. I was wondering if having a hard dependency on something as critical as a styling solution could be avoided since not everybody would be keen on adding a dependency, especially if they have a similar alternate solution (maybe Glamour, Radium, Emotion etc) already implemented in their projects.
The text was updated successfully, but these errors were encountered:
I am getting the error
Module not found: Can't resolve 'styled-components'
when i first tried to implement the module in myNextjs
app.I did not see any note regarding dependencies in the Readme docs so i assumed it would work out of the box.
My project does not use any CSS-in-js solution but rather depends on
Tailwind
and custom simple CSS so i am not too keen on addingstyled-components
just for one module.Having a look at the demo here, the screen does not look overly complex and could be built with simple CSS. I was wondering if having a hard dependency on something as critical as a styling solution could be avoided since not everybody would be keen on adding a dependency, especially if they have a similar alternate solution (maybe Glamour, Radium, Emotion etc) already implemented in their projects.
The text was updated successfully, but these errors were encountered: