sample toast integration

This commit is contained in:
2021-02-27 18:28:32 +01:00
parent b7f15f4d68
commit ff89071156
3 changed files with 13 additions and 7 deletions

View File

@@ -2,8 +2,10 @@ import { createApp } from 'vue';
import { createWebHistory, createRouter } from 'vue-router';
import App from './App.vue';
import { createI18n } from 'vue-i18n';
import Toast from 'vue-toastification';
import 'windi.css';
import 'toastify-js/src/toastify.css';
import 'vue-toastification/dist/index.css';
import * as keys_en from './locales/en.json';
import * as keys_de from './locales/de.json';
@@ -32,4 +34,4 @@ const router = createRouter({
]
});
// ---------------
createApp(App).use(i18n).use(router).mount('#app');
createApp(App).use(Toast).use(i18n).use(router).mount('#app');