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:
@ -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');
|
||||
|
Reference in New Issue
Block a user