1.0.24 • Published 5 years ago
@allinmkt/vue-topbar v1.0.24
Complete and flexible topbar by metronic.
Install
npm i --save @allinmkt/vue-topbar
How to
Props
- user: User informations
- menu: Topbar items
- list: Notification items
In any of your vue files:
JS:
import KTHeader from '@allinmkt/vue-topbar'
export default {
name: 'MyPage',
components: {
KTHeader
},
data() {
return {
user: {
message: "Hello",
name: "James Bond",
profession: "Application Developer",
email: "jb@gmail.com"
},
menu: [
{
name: "Dashboard",
href: "/dashboard"
},
{
name: "Builder",
href: "/builder"
},
{
name: "Test",
href: "#",
submenu: [
{
name: "Test",
icon: "menu-icon flaticon2-list-2",
href: "/test"
},
{
name: "Test2",
icon: "menu-icon flaticon2-list-2",
href: "/test"
}
]
}
],
list: [
{
title: "5 new user generated report",
desc: "Reports based on sales",
icon: "flaticon-bell text-success"
},
{
title: "2 new items submited",
desc: "by Grog John",
icon: "flaticon2-box text-danger"
},
{
title: "79 PSD files generated",
desc: "Reports based on sales",
icon: "flaticon-psd text-primary"
},
{
title: "$2900 worth producucts sold",
desc: "Total 234 items",
icon: "flaticon2-supermarket text-warning"
}
]
};
}
}
Template:
<template>
<div>
<KTHeader :user="user" :menu="menu" :list="list"></KTHeader>
</div>
</template>
1.0.24
5 years ago
1.0.23
5 years ago
1.0.22
5 years ago
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.11
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.9
5 years ago
1.0.10
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.2
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
2.2.5
5 years ago