Closed xwnwho closed 3 years ago
版本:3.1.0-alpha.1
怎么用的? 提供复现
这个告警浏览器不会出来,我在codesandbox,没有看到浏览器有报错,本地也是。本地启动服务的时候,cmd会提示,应该是加载moment,locale语言的告警,Module not found: Error: Can't resolve './locale' in 'D:\projects\practice\test\node_modules\@ant-design-vue\pro-layout\dist'
pro-layout 应该没引入 moment 你在确认下?
这是我本地引用的文件
无法复现警告内容, 建议提供在线可运行复现
这是我通过rollup-plugin-visualizer插件生成分析图,moment是被build进去了的
try 3.1.0-alpha.2
好了
Module not found: Error: Can't resolve './locale' in '@ant-design-vue\pro-layout\dist' 不影响使用