sample toast integration
This commit is contained in:
		@@ -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');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user