An open API service indexing awesome lists of open source software.

https://github.com/shaoxiong789/vue-drag-sorting


https://github.com/shaoxiong789/vue-drag-sorting

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# vue-drag
The only required dependencies are:
* [Vue.js](http://vuejs.org/) (required ^v2.x.x, test with v2.0.3).

## Installation

### NPM
```bash
$ npm install git://github.com/shaoxiong789/vue-drag.git --save
```
```js





{{props.item.name}}



import {dragboot} from 'vue-drag'
export default {
components:{dragboot},
data() {
return {
lists:[
{name:'1',color:'red'},
{name:'2',color:'orange'},
{name:'3',color:'yellow'},
{name:'4',color:'green'},
{name:'5',color:'indigo'},
{name:'6',color:'blue'},
{name:'7',color:'purple'}
]
}
}
}

```