mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-07 13:59:43 +00:00
26 lines
627 B
JavaScript
26 lines
627 B
JavaScript
import { createApp } from "vue";
|
|
import { _createI18n } from "ChillMainAssets/vuejs/_js/i18n";
|
|
import { appMessages } from "./js/i18n";
|
|
import { store } from "./store";
|
|
import "vue-toast-notification/dist/theme-sugar.css";
|
|
import ToastPlugin from "vue-toast-notification";
|
|
|
|
import App from "./App.vue";
|
|
|
|
const i18n = _createI18n(appMessages);
|
|
|
|
/* exported app */
|
|
const app = createApp({
|
|
template: `<app></app>`,
|
|
})
|
|
.use(store)
|
|
.use(i18n)
|
|
.use(ToastPlugin, {
|
|
position: "bottom-right",
|
|
type: "error",
|
|
duration: 5000,
|
|
dismissible: true,
|
|
})
|
|
.component("app", App)
|
|
.mount("#household_members_editor");
|