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

UMD: 新版本无法正常使用 #3642

Closed
sxwlmsrbi opened this issue Aug 30, 2022 · 0 comments
Closed

UMD: 新版本无法正常使用 #3642

sxwlmsrbi opened this issue Aug 30, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sxwlmsrbi
Copy link

TuSimple/naive-ui version (版本)

2.33.1

Vue version (Vue 版本)

3.2.37

Browser and its version (浏览器及其版本)

Chrome(104); Firefox(104)

System and its version (系统及其版本)

Windows 10; Android

Node version (Node 版本)

Reappearance link (重现链接)

https://www.naiveui.com/zh-CN/os-theme/docs/umd

Reappearance steps (重现步骤)

自2.33.0版本起,通过CDN引入UMD的方式,只引入Vue和Naive UI(如官方文档“使用UMD”中的示例代码),无法正常使用,浏览器控制台报错。2.32.2版本无此问题。

Expected results (期望的结果)

无报错,正常渲染组件

Actual results (实际的结果)

浏览器控制台报错,无法正常渲染组件

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Aug 30, 2022
jizai1125 added a commit to jizai1125/naive-ui that referenced this issue Aug 31, 2022
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Aug 31, 2022
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