build: 设置多语言

This commit is contained in:
陈凯龙
2021-12-08 10:47:33 +08:00
parent 4050d56c19
commit 45e879edee
27 changed files with 502 additions and 1388 deletions

8
src/locales/en.ts Normal file
View File

@@ -0,0 +1,8 @@
export default {
test: {
about: 'About'
},
test2: {
go: 'Go'
}
}

8
src/locales/zh-CN.ts Normal file
View File

@@ -0,0 +1,8 @@
export default {
test: {
about: '关于'
},
test2: {
go: '去'
}
}