v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
This commit is contained in:
12
src/client/i18n.ts
Normal file
12
src/client/i18n.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import Vue from 'vue';
|
||||
import VueI18n from 'vue-i18n';
|
||||
import { lang, locale } from './config';
|
||||
|
||||
Vue.use(VueI18n);
|
||||
|
||||
export default new VueI18n({
|
||||
locale: lang,
|
||||
messages: {
|
||||
[lang]: locale
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user