1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: vue3 migration in progress

This commit is contained in:
2022-04-21 14:39:24 +02:00
parent 9a0f982723
commit 443170bbb1
61 changed files with 607 additions and 563 deletions

View File

@ -1,20 +1,15 @@
'use strict';
import Vue from 'vue';
import { createApp } from 'vue';
import '@mdi/font/css/materialdesignicons.css';
import 'leaflet/dist/leaflet.css';
import '@/scss/main.scss';
import App from '@/App.vue';
import store from '@/store';
import { store } from '@/store';
import i18n from '@/i18n';
i18n.locale = store.state.settings.locale;
Vue.config.productionTip = false;
new Vue({
render: h => h(App),
store,
i18n
}).$mount('#app');
const app = createApp(App);
app.use(store);
app.use(i18n(store.state.settings.locale));
app.mount('#app');