解决vue3 动态引入报错问题
发布时间:2023年12月17日
之前这样写的,能使用,但是有警告


警告,查了下,是动态引入的问题,看到说要用glob

然后再我的基础上,稍微 改了下,就可以了:

最后打印了下,modules['../../components/flowchart/edge/dbedgeview/dbedgeview.vue']

和我那个defineAsyncComponent里面直接import也一样啊,真的是,非要加个glob
文章来源:https://blog.csdn.net/yr123456654321/article/details/134927447
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!