mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-06 02:09:04 +02:00
i18n (wip)
This commit is contained in:
parent
bf51a3ff3a
commit
75f54db90e
15 changed files with 178 additions and 57 deletions
10
client/src/plugins/i18n.ts
Normal file
10
client/src/plugins/i18n.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import Vue from 'vue'
|
||||
import VueI18n from 'vue-i18n'
|
||||
import { messages } from '~/locale'
|
||||
|
||||
Vue.use(VueI18n)
|
||||
|
||||
export const i18n = new VueI18n({
|
||||
locale: 'en',
|
||||
messages,
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue