mirror of https://github.com/wg-easy/wg-easy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
430 B
16 lines
430 B
import './assets/style.css';
|
|
|
|
import App from './App.vue';
|
|
import { createApp } from 'vue';
|
|
import { createI18n } from 'vue-i18n';
|
|
import { createPinia } from 'pinia';
|
|
import { messages } from '@/utils/i18n';
|
|
|
|
const i18n = createI18n({
|
|
locale: localStorage.getItem('lang') || 'en',
|
|
allowComposition: true,
|
|
fallbackLocale: 'en',
|
|
messages,
|
|
});
|
|
const pinia = createPinia();
|
|
createApp(App).use(i18n).use(pinia).mount('#app');
|
|
|