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

Failed to resolve entry for package "simple-m-editor" #41

Open
nguyenvancaokyfpt opened this issue Jun 2, 2024 · 1 comment
Open

Failed to resolve entry for package "simple-m-editor" #41

nguyenvancaokyfpt opened this issue Jun 2, 2024 · 1 comment

Comments

@nguyenvancaokyfpt
Copy link

[plugin:vite:import-analysis] Failed to resolve entry for package "simple-m-editor". The package may have incorrect main/module/exports specified in its package.json.

My project gives me this error when I add simple-m-editor to the project.

i just add
import { MEditor, marked } from 'simple-m-editor'; import 'simple-m-editor/dist/style.css';

@hellomrbigshot
Copy link
Owner

I'm sorry i replay so late. Now you can use @simple-m-editor/vue to instead simple-m-editor, the new package is built with rollup and has mjs file to import.

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