-
Notifications
You must be signed in to change notification settings - Fork 9
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
Global CSS cannot be imported from within node_modules on Next.js app #46
Comments
Yeah this plugin does not work with nextjs + sanity v3 |
I'v also met this problem. Is there any way to fix it? |
I also don't found any solutions. some days ago it release v3.0.0 and they are mentions that it not support in next.js. until they fix it we should wait. If you find any solutions please mention me. |
duplicate issue #27 |
+1 from me. I've attempted to use |
I was playing around with the app directory and it was pretty jank but it seems to be working fine now after copying over the minified css from edit: I should prob add that I got that minified file after first installing @uiw/react-md-editor, copied the css from node_modules then deleted it the package just to see if it'd work without it |
I try this but not working. Can you share example how you do that. |
I am using [email protected] in my next.js app. And it shows this compile error.
./node_modules/@uiw/react-markdown-preview/esm/styles/markdown.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules@uiw\react-markdown-preview\esm\index.js
The text was updated successfully, but these errors were encountered: