1.4.5 • Published 2 years ago
@nathanbate/admin-dashboard-vue v1.4.5
Admin Dashboard Vue
Install
npm install @nathanbate/admin-dashboard
Preview
Use
More details coming soon
Make sure to include css somewhere:
import '@nathanbate/admin-dashboard-vue/dist/assets/index.css'
Here is a basic vue component
<template>
<div>
<Dashboard :show-search="true" :show-user-menu="true">
<template v-slot:brandIcon>
<IconCustomers class="fill-white"/>
</template>
<template v-slot:brandName>A New World</template>
<template v-slot:menuItems>
<MenuItem item-link="/customers">
<template v-slot:icon>
<CustomersIcon class="fill-white"/>
</template>
<template v-slot:label>
Customers
</template>
</MenuItem>
<MenuItem item-link="#" :top-level="false">
<template v-slot:label>
Sublink 1
</template>
</MenuItem>
<MenuItem item-link="/customer/report" :top-level="false" :link-active="true">
<template v-slot:label>
Sublink 2
</template>
</MenuItem>
<MenuItem />
</template>
</Dashboard>
</div>
</template>
<script>
import Dashboard from '@nathanbate/admin-dashboard-vue/src/components/Dashboard.vue'
import MenuItem from '@nathanbate/admin-dashboard-vue/src/components/MenuItem.vue';
import IconCustomers from '@nathanbate/admin-dashboard-vue/src/components/icons/IconCustomers.vue';
import CustomersIcon from '@nathanbate/admin-dashboard-vue/src/components/icons/IconCustomers.vue';
export default {
name: "AdminDashboardDemoApp",
components: {
CustomersIcon,
IconCustomers,
Dashboard : Dashboard,
MenuItem : MenuItem,
CustomerTestIcon : IconCustomers,
},
}
</script>
1.4.5
2 years ago
1.4.4
2 years ago
1.4.3
2 years ago
1.4.2
2 years ago
1.4.1
2 years ago
1.4.0
2 years ago
1.3.6
2 years ago
1.3.5
2 years ago
1.3.4
2 years ago
1.3.3
2 years ago
1.3.2
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago