Initial commit
This commit is contained in:
13
plugins/toastr.client.ts
Normal file
13
plugins/toastr.client.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
// @ts-ignore
|
||||
// eslint-disable-next-line import/no-named-as-default
|
||||
import Toaster from '@meforma/vue-toaster'
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.use(Toaster, {
|
||||
position: 'bottom-left',
|
||||
duration: 2000,
|
||||
queue: true,
|
||||
max: 1,
|
||||
pauseOnHover: false
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user