feat(i18n): 集成 vue-i18n 并配置多语言支持
(cherry picked from commit 15c9509318dd7d48c081c4ae4846598d9affb344)
This commit is contained in:
10
src/locales/zh-CN.json
Normal file
10
src/locales/zh-CN.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"page": {
|
||||
"i18n-demo": {
|
||||
"title": "Vue I18n 示例",
|
||||
"current-language": "当前语言",
|
||||
"change-language": "切换语言",
|
||||
"hello": "你好, {name}!"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user