This commit is contained in:
2022-02-15 08:46:02 +01:00
parent 3b126086fe
commit adb185e4d4
7 changed files with 186 additions and 35 deletions
+3
View File
@@ -0,0 +1,3 @@
{
}
+6
View File
@@ -0,0 +1,6 @@
{
"playAgain": "Rejouer",
"endGame.victoryLabel": "Bien joué !",
"endGame.failureLabel": "Presque",
"startGame": "Démarrer"
}
+10
View File
@@ -1,12 +1,22 @@
import './index.css'
import messages from '@intlify/vite-plugin-vue-i18n/messages'
import { createApp } from 'vue'
import { createI18n } from 'vue-i18n'
import App from './App.vue'
import router from './router'
const i18n = createI18n({
legacy: false,
locale: 'fr',
fallbackLocale: 'en',
messages,
})
const app = createApp(App)
app.use(router)
app.use(i18n)
app.mount('#app')