-
Notifications
You must be signed in to change notification settings - Fork 199
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
🐛关于svg的导入错误导致编译不过去 #2990
Comments
你好 @sunchenjun,请编辑你的 issue 标题, 一个言简意赅的 issue 标题可以节省大家的时间, 请不要将标题当做正文, 或者为空。 Hello, @sunchenjun, please edit your issue title. a concise issue title will save everyone time. please do not leave the title as the body or empty. |
近期看一下, 是用到了 |
单纯是包编译不过去 |
可以自己装一下使用一下,会发现编译不过去,和使用哪个组件无关 |
具体可以使用一下Switcher |
你好 @sunchenjun,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志. Hello, @sunchenjun, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs. |
🎉 This issue has been resolved in version @antv/s2-vue-v2.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version @antv/s2-react-components-v2.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🏷 Version
Sheet Type
🖋 Description
编译时,svg作为react组件部分代码编译不过去
⌨️ Code Snapshots
编译时报错
Uncaught SyntaxError: The requested module '/@fs/C:/Users/admin/Desktop/electron-tos/node_modules/@antv/s2-react-components/esm/components/common/icons/svg/calendar-icon.svg?import' does not provide an export named 'ReactComponent' (at @antv_s2-react-components.js?v=7ab7ed45:4814:10)
🔗 Reproduce Link
🤔 Steps to Reproduce
编译时报错, 认为这里没有这样的抛出
😊 Expected Behavior
编译过去
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: