-
Notifications
You must be signed in to change notification settings - Fork 7
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
Does not work with Next.js #12
Labels
Comments
It's not working for me neither :(
|
@devcshort Thanks for reporting issue. I've taken necessary steps and have updated package. |
@octaviotastico Hey I've updated package which should solve your problem. Basically there will be no global css imports now in package's codebase |
meetzaveri
added
bug
Something isn't working
good first issue
Good for newcomers
labels
Sep 27, 2020
Merged
Thank you @meetzaveri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What doesn't work
Currently when trying to use this module in a Next.js application, I get an error that says
Global CSS cannot be imported from within node_modules
More about the Next.js Error
Global CSS cannot be imported from within node_modules
Temporary workaround
I managed to create a workaround in my own project by changing your package.json "main" to export
dist/lib/tui-wrapper.js
instead ofdist/index.js
AND by using a "dynamic" import in my Next.js app.The text was updated successfully, but these errors were encountered: