Hi,
I'm trying to integrate editor into Laravel inertia.js project,
but got this error:
npm run build
> build
> tsc && vite build && vite build --ssr
node_modules/@uiw/react-md-editor/esm/Types.d.ts:2:15 - error TS2614: Module '"@uiw/react-markdown-preview/nohighlight"' has no exported member 'MarkdownPreviewProps'. Did you mean to use 'import MarkdownPreviewProps from "@uiw/react-markdown-preview/nohighlight"' instead?
2 import type { MarkdownPreviewProps } from '@uiw/react-markdown-preview/nohighlight';
~~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/@uiw/react-md-editor/esm/Types.d.ts:2
not sure what to do.
If someone could help me with this, it would be great.
Thanks!
Hi, I'm trying to integrate editor into Laravel inertia.js project, but got this error:
not sure what to do. If someone could help me with this, it would be great. Thanks!