mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
25 lines
578 B
JavaScript
25 lines
578 B
JavaScript
import { createApp } from 'vue';
|
|
import { _createI18n } from 'ChillMainAssets/vuejs/_js/i18n';
|
|
import { appMessages } from './js/i18n';
|
|
import { store } from './store';
|
|
import VueToast from 'vue-toast-notification';
|
|
import 'vue-toast-notification/dist/theme-sugar.css';
|
|
|
|
import App from './App.vue';
|
|
|
|
const i18n = _createI18n(appMessages);
|
|
|
|
const app = createApp({
|
|
template: `<app></app>`,
|
|
})
|
|
.use(store)
|
|
.use(i18n)
|
|
.use(VueToast, {
|
|
position: "bottom-right",
|
|
type: "error",
|
|
duration: 5000,
|
|
dismissible: true
|
|
})
|
|
.component('app', App)
|
|
.mount('#household_members_editor');
|