mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2026-08-05 21:32:23 +00:00
16 lines
407 B
TypeScript
16 lines
407 B
TypeScript
import { createApp } from "vue"
|
|
import App from "./App.vue"
|
|
import router from "./router"
|
|
import "./assets/main.css"
|
|
import { createI18n } from "vue-i18n";
|
|
import { getLocale } from "./utilities/locale_handler";
|
|
|
|
const app = createApp(App)
|
|
app.use(router)
|
|
app.use(createI18n({
|
|
legacy: false,
|
|
locale: getLocale(),
|
|
fallbackLocale: "it",
|
|
messages: { "en": {}, "it": {} },
|
|
}));
|
|
app.mount("#app") |