npm i element-ui -S --legacy-peer-deps 安装成功:
1.首先将package.json中的tui-editor那一行修改为"@toast-ui/editor": "^3.1.3", 2.进入\src\components\MarkdownEditor\index.vue文件,将他的所有import删除换成下面四行 3.把该页面(还是第二条中的文件)的getValue和setValue分别换成getMarkdown和setMarkdown 把页面中的所有tui-editor全部替换为@toast-ui/...