2022-05-21 01:07:31 +02:00
|
|
|
import { createApp } from "vue";
|
|
|
|
import App from "./App.vue";
|
|
|
|
import router from "./router";
|
|
|
|
import vuetify from "./plugins/vuetify";
|
|
|
|
import { loadFonts } from "./plugins/webfontloader";
|
|
|
|
import { createPinia } from "pinia";
|
2022-05-24 23:04:35 +02:00
|
|
|
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
|
2022-05-30 20:19:41 +02:00
|
|
|
import axios from "axios";
|
2022-07-25 14:59:17 +02:00
|
|
|
import VueMatomo from "vue-matomo";
|
2022-05-21 01:07:31 +02:00
|
|
|
|
|
|
|
loadFonts();
|
|
|
|
const pinia = createPinia();
|
2022-05-24 23:04:35 +02:00
|
|
|
pinia.use(piniaPluginPersistedstate);
|
2022-05-21 01:07:31 +02:00
|
|
|
|
2022-05-30 20:19:41 +02:00
|
|
|
axios.defaults.baseURL = import.meta.env.VITE_API_BASE_URL;
|
|
|
|
|
2022-07-25 14:59:17 +02:00
|
|
|
createApp(App)
|
|
|
|
.use(router)
|
|
|
|
.use(vuetify)
|
|
|
|
.use(pinia)
|
|
|
|
.use(VueMatomo, {
|
|
|
|
host: "https://stats.sebclem.fr",
|
|
|
|
siteId: 2,
|
|
|
|
router: router,
|
|
|
|
})
|
|
|
|
.mount("#app");
|