-
Notifications
You must be signed in to change notification settings - Fork 12
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
无法渲染组件 #4
Comments
@crypto-jianyong 代码可以贴一下嘛 |
|
@crypto-jianyong 能不能给个简单的完整按理?这样不好定位问题 |
@guyue88 其实就是很基本的引用,不过jsoneditor.min.js确实没有export default,按理说应该不能直接 |
@crypto-jianyong 这个其实是vite不兼容commonjs的问题。解决方案如下: vite.config.js
解决了麻烦给点个赞! |
@crypto-jianyong ok,可以解决就行 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用Vue 3+Vite本地开发的时候,报错:
node_modules/jsoneditor/dist/jsoneditor.min.js?v=8e2051fe' does not provide an export named 'default' (at json-editor.vue:2:8)
好奇怪你们是怎么成功启动的
The text was updated successfully, but these errors were encountered: