Quick Start
To start using this design system you will need to to install some dependencies or copy some files to your project.
Steps to install
- Make sure you have Node.js installed.
- Navigate to the main directory (from terminal) where
package.json
is located. - Run
npm install
oryarn install
- Run
npm run serve
oryarn serve
to start the local development server and start prototyping.
Vue White Dashboard
Vue White Dashboard is built as Vue plugin so you can simply import it and use it.
import Vue from 'vue';
import DashboardPlugin from '@/main'
Vue.use(DashboardPlugin);
Global Components
White Dashboard comes with an extensive set of custom Vue components. Some of them are globally instantiated so it's easier to use them across the app without importing them each time.
Here's the list of global components:
- BaseButton
- BaseCheckbox
- BaseRadio
- DropDown
- Notify
Local components
Besides the components mentioned above, we have some extra components/plugins that are usually less used and bigger. In order to not affect the overall bundle size of the White Dashboard Kit, they should be imported locally.
Here's the list of local components:
- BarChart
- BaseAlert
- BaseNav
- BaseTable
- CloseButton
- LineChart
- Modal
- NavbarToogleButton
- Notifications
- StatsCard
- Sidebar
- SidebarLink
Starter template
To get started faster, we provide a starter template inside the project. It's a bare bones layout with nav, footer and a hello world. To enable it go to main.js and change line 3
import Vue from "vue";
import App from "./App.vue";
import VueRouter from "vue-router";