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

Bug: 在 vite\vue3 项目中使用报错 #256

Closed
DejaVuuuuuuu opened this issue Oct 15, 2024 · 5 comments · Fixed by #258
Closed

Bug: 在 vite\vue3 项目中使用报错 #256

DejaVuuuuuuu opened this issue Oct 15, 2024 · 5 comments · Fixed by #258
Assignees
Labels
bug Something isn't working

Comments

@DejaVuuuuuuu
Copy link

bug 描述

请输入内容……
image

我按照示例建了个空项目,引用组件后使用直接报错;
image

你预期的样子是?

请输入内容……

系统和浏览器及版本号

  • 操作系统
  • 浏览器和版本
    最新版谷歌浏览器哦

wangEditor-next 版本

请输入内容……

demo 能否复现该 bug ?

能/不能

在线 demo

最小成本的复现步骤

  • 步骤一

  • npm安装报错
    image

  • 步骤二

  • 步骤三

@cycleccc cycleccc changed the title 在vue3项目中使用报错 Bug: 在 vite\vue3 项目中使用报错 Oct 15, 2024
@cycleccc cycleccc added the bug Something isn't working label Oct 15, 2024
@cycleccc cycleccc self-assigned this Oct 16, 2024
@cycleccc cycleccc linked a pull request Oct 16, 2024 that will close this issue
5 tasks
@DejaVuuuuuuu
Copy link
Author

@cycleccc 麻烦大佬修复了说一声

@cycleccc
Copy link
Owner

发布了 5.6.2-beta,上午试了没问题,可以切换试试

@cycleccc
Copy link
Owner

cycleccc commented Oct 16, 2024

你的 vite demo 没有显示引入 style.css 这个记得加一下

import '@wangeditor-next/editor/dist/css/style.css';

@cycleccc
Copy link
Owner

已发布 5.6.2

@DejaVuuuuuuu
Copy link
Author

DejaVuuuuuuu commented Oct 16, 2024

你的 vite demo 没有显示引入 style.css 这个记得加一下

import '@wangeditor-next/editor/dist/css/style.css';

好的 感谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants