react-monacoeditor icon indicating copy to clipboard operation
react-monacoeditor copied to clipboard

support for nextJs

Open hebertdev opened this issue 4 years ago • 1 comments

I think that the css files are not allowed to be imported from next.js they could give a compiled version of these.

https://nextjs.org/docs/messages/css-npm

hebertdev avatar Oct 21 '21 05:10 hebertdev

There may be a solution here: https://github.com/uiwjs/react-md-editor/issues/52#issuecomment-848969341

@hebertdev

jaywcjlove avatar Oct 21 '21 06:10 jaywcjlove

  • https://github.com/uiwjs/react-md-editor/issues/446#issue-1417594634

Example: https://codesandbox.io/s/nextjs-example-react-md-editor-qjhn7?file=/pages/index.js
Example: @uiwjs/next-remove-imports/example
Example: https://next-remove-imports-example.vercel.app

jaywcjlove avatar Oct 21 '22 07:10 jaywcjlove