# Notification

# Installation

If you need notifications (filtering, sorting, pagination) you can use the vue-notification library. Github

To install it just run this command:

npm install --save vue-notification

After installing the library you need to register the notification component. You can do it with this code:

import Vue from 'vue';
import Notifications from 'vue-notification';

Vue.use(Notifications);

# Usage

There is a notification component with a basic layout which you can use.

You just need to add the component to the App.vue

<notifications />

After you added the component you can use the notification with

this.$notify({ text: 'Notification', type: 'error' });
Last Updated: 1/8/2020, 12:02:29 PM