mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
* lang url parameter * add ?lang to readme. --------- Co-authored-by: Miroslav Šedivý <sedivy.miro@gmail.com>
12 lines
197 B
TypeScript
12 lines
197 B
TypeScript
import Vue from 'vue'
|
|
import VueI18n from 'vue-i18n'
|
|
import { messages } from '~/locale'
|
|
|
|
Vue.use(VueI18n)
|
|
|
|
export const i18n = new VueI18n({
|
|
locale: 'en',
|
|
fallbackLocale: 'en',
|
|
messages,
|
|
})
|