bridge-vue-notification

A notification component for vuejs

Usage no npm install needed!

<script type="module">
  import bridgeVueNotification from 'https://cdn.skypack.dev/bridge-vue-notification';
</script>

README

Bridge Vue Notifications

Bridge Notification

Demonstration

https://bridge-notification.netlify.app

Getting started

npm install --save bridge-vue-notification

Basic usage

// main.js:

import Vue from "vue";
Vue.use(require("bridge-vue-notification"));
// In App.vue:

<div id="app">
  <bridge-notify />
...
...
</div>

<script>

export default {
  methods:{
    show(){
      this.$notify({
          message: "Bridge Notification is Awesome 😍",
          duration: 3000,
          position: 'center',
          animate: {
            x: 0,
            y: 330,
          },
        });
    }
  }
}
</script>

<button @click="show">Show Notification</button>