mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
Use translate in setup
This commit is contained in:
parent
b2587a688f
commit
4cffcf4de1
@ -7,7 +7,7 @@ import VueToast from 'vue-toast-notification';
|
|||||||
import 'vue-toast-notification/dist/theme-sugar.css';
|
import 'vue-toast-notification/dist/theme-sugar.css';
|
||||||
|
|
||||||
import { store } from "./store";
|
import { store } from "./store";
|
||||||
import { messages } from './i18n/messages';
|
import messages from './i18n/messages';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
@ -15,7 +15,7 @@ declare global {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const i18n = _createI18n(messages);
|
const i18n = _createI18n(messages, false);
|
||||||
|
|
||||||
const _app = createApp({
|
const _app = createApp({
|
||||||
template: '<app></app>',
|
template: '<app></app>',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user