Contents
Description:
If you are looking to create notification bell for Vue.js application then, you are at right place. Here, you are going to know that, how you can implement the same in your Vue application.
How to use it?
1. First, you will need to install the component using npm.
npm install vue-notification-bell –save
2. Import the component in your file, like this.
import NotificationBell from ‘vue-notification-bell’
3. Post that, create notification bell.
<template>
<div id=”your-component”>
<notification-bell />
<!– Using Component –>
</div>
</template>
4. Now, the Vue.js code to create notification bell.
export default {
name: ‘YourComponentName’,
// …
components: {
NotificationBell // Registering Component
}
// …
}
The post Create Notification Bell For Vue.js Application with vue-notification-bell appeared first on Lipku.com.
Permanent link to this post here
