no message
Former-commit-id: f8f9cdb7231f8a77fe9151b716611e6f38764d26 Former-commit-id: 7dc07e14f51ad5ecbfdbe4f34b4009323fefc87e Former-commit-id: f26ca65e120f24930ecc0f0a510bf847356271c1
This commit is contained in:
@@ -6,15 +6,7 @@ Vue.use(VueI18n)
|
||||
export default new VueI18n({
|
||||
locale: 'CN',
|
||||
messages: {
|
||||
en: {
|
||||
message: {
|
||||
hello: 'hello world'
|
||||
}
|
||||
},
|
||||
cn: {
|
||||
message: {
|
||||
hello: '你好、世界'
|
||||
}
|
||||
}
|
||||
'CN': require('./lang/cn'),
|
||||
'EN': require('./lang/en')
|
||||
}
|
||||
})
|
||||
|
||||
4
src/i18n/lang/cn.js
Normal file
4
src/i18n/lang/cn.js
Normal file
@@ -0,0 +1,4 @@
|
||||
export const message = {
|
||||
language: '语言',
|
||||
hello: '你好,世界'
|
||||
}
|
||||
4
src/i18n/lang/en.js
Normal file
4
src/i18n/lang/en.js
Normal file
@@ -0,0 +1,4 @@
|
||||
export const message = {
|
||||
language: 'language',
|
||||
hello: 'hello world'
|
||||
}
|
||||
Reference in New Issue
Block a user