feat(i18n): Többnyelvűség alapjainak beállítása és UI takarítás

This commit is contained in:
Roo
2026-06-04 07:19:32 +00:00
parent c7cbe60976
commit 22a5da9ad1
5 changed files with 640 additions and 0 deletions

28
frontend/src/main.ts Normal file
View File

@@ -0,0 +1,28 @@
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createI18n } from 'vue-i18n'
import App from './App.vue'
import router from './router'
import hu from './i18n/hu'
import en from './i18n/en'
import './assets/main.css'
const messages = {
hu,
en,
}
const i18n = createI18n({
legacy: false,
locale: 'hu',
fallbackLocale: 'en',
messages,
})
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(i18n)
app.mount('#app')