【国际化】没有用umi/max,如何配置国际化呢? #12413
Answered
by
fz6m
DeronEndless
asked this question in
Q&A
【国际化】没有用umi/max,如何配置国际化呢?
#12413
-
在umi4中,没有使用umi/max,如何配置国际化? |
Beta Was this translation helpful? Give feedback.
Answered by
fz6m
May 22, 2024
Replies: 1 comment 1 reply
-
可以单独使用 locale 国际化插件: pnpm add -D @umijs/plugins // .umirc.ts
export default {
plugins: ['@umijs/plugins/dist/locale'],
locale: {}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
DeronEndless
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以单独使用 locale 国际化插件:
使用说明详见:https://umijs.org/docs/max/i18n