Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 添加i18n支持 #222

Closed
wants to merge 0 commits into from
Closed

Conversation

cuiyiming1998
Copy link

@cuiyiming1998 cuiyiming1998 commented Feb 23, 2023

使用vue-i8n
#202

使用方法:

在每个页面文件夹下创建locale文件夹, 生成不同语言文件并导出
@/locale/en-US@/locale/zh-CN中进行导入并导出

注: 如在setup中使用 t , 并需要按语言相应式变化的话, 需要用computed进行包裹

@vercel
Copy link

vercel bot commented Feb 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
naive-ui-admin ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 24, 2023 at 3:32AM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant