Vue.js 2 library for showing notifications
vue-notification
Vue.js 2+ notification plugin using Velocity for animations.
Install
npm install --save vue-notification
How to
In main.js:
import Vue from 'vue'
import Notifications from 'vue-notification'
Vue.use(Notifications)
In App.vue:
<notifications group="foo" />
In any of your files:
this.$notify({
group: 'foo',
title: 'Important message',
text: 'Hello user! This is a notification!'
});