forked from CSGOWTF/csgowtf
32 lines
733 B
TypeScript
32 lines
733 B
TypeScript
import { createApp } from "vue";
|
|
import { createPinia } from "pinia";
|
|
|
|
import App from "./App.vue";
|
|
import router from "./router";
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore
|
|
import VueMatomo from "vue-matomo";
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore
|
|
import store from "./store";
|
|
|
|
import "bootstrap";
|
|
import "bootstrap-icons/font/bootstrap-icons.css";
|
|
import "/src/scss/custom.scss";
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(createPinia());
|
|
app.use(router);
|
|
app.use(store);
|
|
|
|
if (import.meta.env.VITE_TRACKING) {
|
|
app.use(VueMatomo, {
|
|
host: import.meta.env.VITE_TRACK_URL,
|
|
siteId: import.meta.env.VITE_TRACK_ID,
|
|
router: router,
|
|
});
|
|
}
|
|
|
|
app.mount("#app");
|