31 Star 228 Fork 113

帝莎编程 / tov-template

 / 详情

构建后antdv组件不会转编译成原生组件。导致浏览器不识别

已完成
创建于  
2022-08-10 00:10

信息

nodejs 版本

16.7 +


包管理器及其版本

yarn + npm + pnpm 都试过


系统

MacOS


bug

描述

在开发环境使用antdv、会自动把antdv 组件编译成原生的标签。 没有问题, 但是使用 npm run build构建之后,组件没有被编译,原样输出了, 导致样式都没了

生产环境截图
生产环境截图

开发环境截图
开发环境截图

最小测试仓库

当前仓库克隆下去安装 ant-design-vue ,随便引入一个组件分别 npm run devnpm run build 即可看到效果

评论 (1)

长得丑活得久i 创建了任务
markthree 任务状态待办的 修改为进行中
markthree 负责人设置为markthree
markthree 添加了
 
bug
标签
展开全部操作日志

@长得丑活得久i 靓仔你好,已修复该问题。具体可见最新提交 👉 7e0ee65

markthree 任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
10249119 markthree 1640753343 725491 zsf 008 1578931501
TypeScript
1
https://gitee.com/dishait/tov-template.git
git@gitee.com:dishait/tov-template.git
dishait
tov-template
tov-template

搜索帮助

53164aa7 5694891 3bd8fe86 5694891