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

局部引入失败原因 #23

Open
dangweiwu opened this issue Jul 7, 2024 · 1 comment
Open

局部引入失败原因 #23

dangweiwu opened this issue Jul 7, 2024 · 1 comment

Comments

@dangweiwu
Copy link

在使用说明中局部引用

import JsonViewer from "vue3-json-viewer";

实际应该是

import {JsonViewer} from "vue3-json-viewer";

亲测,JsonViewer不是默认组件,使用说明中写错了,所以造成了大家都不能局部引用,修改一下吧

@1340145680
Copy link

@qiuquanwu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants