A simple, lightweight and responsive layout for your next Vue.js dashboard
# yarn
yarn add vue-dashboard-vd
# npm
npm install vue-dashboard-vd
import Vue from 'vue';
import VueDashboard from 'vue-dashboard-vd';
Vue.use(VueDashboard);
App.vue
<template>
<div id="app">
<VdDashboard
pageBackground="#f8f8f8"
sidebarHeaderHeight="175px"
sidebarWidth="300px"
headerBackground="white"
sidebarBackground="white"
>
<template v-slot:main-content>
<router-view />
</template>
<template v-slot:header-content>
<HeaderItems></HeaderItems>
</template>
<template v-slot:sidebar-header>
<SidebarHeader></SidebarHeader>
</template>
<template v-slot:sidebar-content>
<SidebarItems></SidebarItems>
</template>
</VdDashboard>
</div>
</template>
HeaderItems
, SidebarHeader
and SidebarItems
are not provided by the library.
Examples for these components can be found here.
It uses Bulma as a css framework.
Complete examples can be found in examples
folder.
If you found this project useful, then please consider giving it a ⭐️ on Github and sharing it with your friends via social media.
If you have any suggestion for including a feature or if something doesn't work, feel free to open a Github issue for us to have a discussion on it.