A Vue component to create dynamic tables. Compatible with Vue 2.x.
# Install with npm
$ npm i -S vue-datasource
# or yarn
$ yarn add vue-datasource
<div id="app"></div>
You can use Local Registration:
import { Datasource } from 'vue-datasource';
new Vue({
el: '#app',
components: {
Datasource,
},
});
or Global Registration:
import Datasource from 'vue-datasource';
Vue.use(Datasource);
// or with a custom component name
import { Datasource } from 'vue-datasource';
Vue.component('custom-name', Datasource);
In browser you can use Unpkg, Jsdelivr, CDN.js, etc.
# Unpkg
https://unpkg.com/vue-datasource@latest/dist/vue-datasource.js
# JSDelivr
https://cdn.jsdelivr.net/npm/vue-datasource@latest/dist/vue-datasource.min.js
All feedback and suggestions are welcome!
This is a open-source software licensed under the MIT license