0.0.2 • Published 6 years ago
tansun-drag v0.0.2
tansun-drag
A dragging component for tansun
安装
npm install tansun-drag -S
引入
import Vue from 'vue'
import App from './App'
import Vuex from 'vuex'
import {TaskNode, TaskNodeStore} from 'tansun-drag'
import 'tansun-drag/dist/css/vnode.css'
Vue.config.productionTip = false
Vue.use(TaskNode)
Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
TaskNodeStore
}
})
new Vue({
el: '#app',
store,
components: { App },
template: '<App/>'
})
For a detailed explanation on how things work, check out the guide and docs for vue-loader.