0.1.85 • Published 11 months ago

theonelims-gridvxetable v0.1.85

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

@TheOneLIMS/grid-element 表格组件

介绍

grid-element 表格组件 grid-element-config 表格组件配置器

开始

设置包管理器

# yarn
yarn config set registry http://lihuanwen.xicp.net:4002
# npm   windows系统 推荐使用

npm set registry http://lihuanwen.xicp.net:4002

安装

#yarn
yarn add @TheOneLIMS/grid-element
#npm
npm add @TheOneLIMS/grid-element

使用

// 全局引入 组件
import component from '@TheOneLIMS/grid-element';
Vue.component(component.name, component);
or
Vue.use(component);
// 全局引入 组件配置器组件
import component from '@TheOneLIMS/grid-element-config';
Vue.component(component.name, component);
or
Vue.use(component);
// 局部引入
import windowDrag from '@TheOneLIMS/grid-element'
export default {
  components: {
    windowDrag
  }
}
// 局部引入
import windowDrag from '@TheOneLIMS/grid-element-config'
export default {
  components: {
    windowDrag
  }
}