1.3.4 • Published 2 years ago
@yourblock/nuxt-toaster v1.3.4
Toaster
This is a modified version of the (tv-toast)https://github.com/acidjazz/tv-toast
Requirements
- Vue Fontawesome
- Fontawesome SVG Core
- Fontawesome Solid Icons
- Vue Portal
Instructions
- First install Vue portal and Font awesome in you current project.
{
// Add the css files
css: ['@fortawesome/fontawesome-svg-core/styles.css'],
// ....
plugins: [
{ src: '~/plugins/font-awesome' }
]
}
- Then install this @yourblock/nuxt-toaster, and add this to the
nuxt.config.js
.
{
// ...
modules: [
// https://go.nuxtjs.dev/axios
'portal-vue/nuxt',
'@yourblock/nuxt-toaster'
]
}
- Finished