mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-16 08:37:53 +02:00
Reorganize js resources
This commit is contained in:
15
resources/js/langs/i18n.js
vendored
Normal file
15
resources/js/langs/i18n.js
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
import Vue from 'vue'
|
||||
import VueInternationalization from 'vue-i18n';
|
||||
import Locale from './locales';
|
||||
|
||||
Vue.use(VueInternationalization);
|
||||
|
||||
// const lang = document.documentElement.lang.substr(0, 2);
|
||||
const lang = 'en';
|
||||
|
||||
const i18n = new VueInternationalization({
|
||||
locale: lang,
|
||||
messages: Locale
|
||||
});
|
||||
|
||||
export default i18n
|
Reference in New Issue
Block a user