Open-Federation / json-schema-editor-visual

A json-schema editor of high efficient and easy-to-use, base on React.
https://hellosean1025.github.io/json-schema-visual-editor/
MIT License
997 stars 220 forks source link

在import 进去的时候用SchemaEditor就会报下面的错误 #66

Open feishu opened 3 years ago

feishu commented 3 years ago

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

MEDASSSSSSS commented 3 years ago

尝试在dva框架下引入该包,能正常使用,但是umijs中引入就有问题。不清楚是否是和打包有关,还在研究中。

feishu commented 3 years ago

谢谢你的回复,在线等待