How to use the vue-notification.default function in vue-notification

To help you get started, we’ve selected a few vue-notification examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MatviiB / notifier / src / views / assets / vue-notes.asset.js View on Github external
window.Vue = require('vue');
window.vueNotification = require('vue-notification').default;

const note = new Vue({el: '#notes'});

socket.addEventListener('message', function (event) {
    let data = JSON.parse(;
    if (data.note) {
            type: data.type ? data.type : 'success',
            title: data.title ? data.title : 'Note:',
            text: data.text ? data.text : ''


Vue.js Notification Library

Latest version published 5 years ago

Package Health Score

56 / 100
Full package analysis

Popular vue-notification functions