Skip to content

A simple, lightweight and responsive layout for your next Vue.js dashboard

License

Notifications You must be signed in to change notification settings

SebastienBtr/vue-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Dashboard

CircleCI GitHub npm

A simple, lightweight and responsive layout for your next Vue.js dashboard

Quick start

1- Install

# yarn
yarn add vue-dashboard-vd
# npm
npm install vue-dashboard-vd

2- Import

import Vue from 'vue';
import VueDashboard from 'vue-dashboard-vd';

Vue.use(VueDashboard);

Usage

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.

Found this project useful? ❤️

If you found this project useful, then please consider giving it a ⭐️ on Github and sharing it with your friends via social media.

Issues and feedback 💭

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.