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

Not works with NextJs #76

Open
aazcast opened this issue May 21, 2021 · 1 comment
Open

Not works with NextJs #76

aazcast opened this issue May 21, 2021 · 1 comment

Comments

@aazcast
Copy link

aazcast commented May 21, 2021

./node_modules/react-day-picker/lib/style.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/@opuscapita/react-dates/lib/index.js

@jaywcjlove
Copy link

I created a nextjs package next-remove-imports to solve the problem. Best solution :)

Example: https://codesandbox.io/s/nextjs-example-react-md-editor-qjhn7?file=/pages/index.js

@aazcast

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

2 participants