mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-13 23:38:32 +02:00
Set up the notification feature
This commit is contained in:
@ -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>
|
||||
|
2
resources/js_vue3/app.js
vendored
2
resources/js_vue3/app.js
vendored
@ -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')
|
||||
|
Reference in New Issue
Block a user