Use translate in setup

This commit is contained in:
Boris Waaub 2024-05-01 22:03:36 +02:00
parent b2587a688f
commit 4cffcf4de1

View File

@ -7,7 +7,7 @@ import VueToast from 'vue-toast-notification';
import 'vue-toast-notification/dist/theme-sugar.css';
import { store } from "./store";
import { messages } from './i18n/messages';
import messages from './i18n/messages';
declare global {
interface Window {
@ -15,7 +15,7 @@ declare global {
}
}
const i18n = _createI18n(messages);
const i18n = _createI18n(messages, false);
const _app = createApp({
template: '<app></app>',