Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not found: Can't resolve 'styled-components' #11

Closed
arunmenon1975 opened this issue Mar 5, 2021 · 1 comment
Closed

Module not found: Can't resolve 'styled-components' #11

arunmenon1975 opened this issue Mar 5, 2021 · 1 comment

Comments

@arunmenon1975
Copy link

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.

@arunmenon1975
Copy link
Author

Closing since the issue was already identified in #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant