Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 819 Bytes

README.md

File metadata and controls

59 lines (41 loc) · 819 Bytes

Vue Desktop

A UI library for building admin panel website.

Install

npm install vue vue-i18n vue-desktop

Usage

All components

Import all components provided by vue-desktop:

require('vue-desktop')

Or

import components from 'vue-desktop'

Import one component

Replace src to lib in source code.

export default {
  components: {
    GridColumn: require('vue-desktop/lib/data/grid-column.vue'),
    Grid: require('vue-desktop/lib/data/grid.vue')
  }
};
<grid>
  <grid-column label="test1"></grid-column>
  <grid-column label="test2"></grid-column>
  <grid-column label="test3"></grid-column>
</grid>

Dev

make dev

Examples

After npm run dev, visit http://localhost:8088/examples.

License

MIT.