-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
找不到模块“@wangeditor/editor-for-vue”或其相应的类型声明 #5673
Comments
你好可以尝试在项目根目录下新建env.d.ts文件并写入 |
我也遇到了这个问题,提示:
已经写入了你的内容也不行 |
我又安装了另一个依赖就可以了。 |
我的做法是: |
declare module '@wangeditor/editor-for-vue' { |
这个问题官方什么时候能出个修复版本啊 |
@zhuman1993 我发布了修复版本,仅仅添加了d.ts文件。 npm i @wangeditor-next/editor-for-vue 最好带上5.1.12的版本后缀, npm i @wangeditor-next/editor-for-vue@5.1.12 因为后续更新版本修复 wangeditor/core 其它 bug 后可能和现有的 wangeditor/core 不适配。 |
Vue3原封不动的copy 代码,运行的时候报错啊。提示标题样子
The text was updated successfully, but these errors were encountered: