UNPKG

table-tree-grid

Version:

A table (with tree-grid) component for Vue.js 2.0. (Its style extends iView)

19 lines (14 loc) 454 B
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue'; import Example from './Example'; import ZkTable from '../src'; Vue.config.productionTip = false; // Vue.component(ZkTable.name, ZkTable); Vue.use(ZkTable); /* eslint-disable no-new */ new Vue({ el: '#example', template: '<Example/>', components: { Example }, });