Set up the notification feature

This commit is contained in:
Bubka
2023-09-21 17:10:12 +02:00
parent 531b35c786
commit e393ca1ea0
4 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,7 @@
</script>
<template>
<notifications id="vueNotification" role="alert" width="100%" position="top" :duration="4000" :speed="0" :max="1" classes="notification is-radiusless" />
<main class="main-section">
<RouterView />
</main>

View File

@ -5,10 +5,12 @@ import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import Notifications from '@kyvg/vue3-notification'
const app = createApp(App)
// app.use(createPinia())
app.use(router)
app.use(Notifications)
app.mount('#app')