run-components-all
v1.1.3
Published
vue compontents
Downloads
3
Readme
安装
npm i run-components-all --S
使用
在 mian.js 中全局引入插件
import RunAll from 'run-components-all';
import 'run-components-all/lib/static/css/app.css';
Vue.use(RunAll);
例:
tableColumn 表格组件的使用 直接在组件的 template 标签内使用
组件 1 start
传参: columnOptions:[ { label:'名称', prop:'name', type:'text', align:'center', formatter:row => { return row } } ]; tableData:[],
组件 2 start
传参: test:'我是测试内容',