国际化umd无法打包问题 #2026
Closed
neil-lei0921
started this conversation in
General
国际化umd无法打包问题
#2026
Replies: 3 comments
-
并且在Foo里使用国际化 无法成功 页面会显示defaultMessage 没有defaultMessage的情况会显示为id |
Beta Was this translation helpful? Give feedback.
0 replies
-
@PeachScript 麻烦帮忙看看呢 |
Beta Was this translation helpful? Give feedback.
0 replies
-
dumi 提供的 组件自己的国际化要单独依赖 react-intl 相关库实现,或者参考 ant-design 的方式做国际化 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
按照官网初始化项目 -> src下添加locales文件夹以及zh-CN.json和en-US.json
配置.dumirc.ts
配置.fatherrc.ts
运行"build": "father build"无法打包
请问这个问题怎么解决?
Beta Was this translation helpful? Give feedback.
All reactions