[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';
[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';