-
Notifications
You must be signed in to change notification settings - Fork 498
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
在vue3中使用ICON_CONFIGS默认值为undefined #167
Comments
@dewfall123 不确定是不是vitepress-for-component导致的问题,因为我用ahooks-vue项目去测试也会报这个错误 |
你们用的是哪个版本胡图标库,能不能给个可复现的Demo。我用1.3.0版本没有问题。 |
hello,同学,这个事情最终解决了吗? |
@liuxuanzy @AppleMonkey2019 |
好嘞,我们尽快看下 |
我看了一下,是vitepress-for-component的问题,里面的vite配置将vue/runtime-core和vue/runtime-dom打包到了icon-park里面(你可以在node_modules/.vite下找到)但是在其他引用这两个包的地方,又重新通过esm加载了一份,造成了问题。 以下代码也可以 所以我判定这大概率是一个vite配置引起的问题。 |
已验证,谢谢大佬 |
代码如下: demo.vue
The text was updated successfully, but these errors were encountered: