Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

coderdiaz/vue-datasource

 
 

Repository files navigation

A Vue component to create dynamic tables. Compatible with Vue 2.x.

Install/Usage

# 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);

Usage in browser

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

Documentation

Props

Community

All feedback and suggestions are welcome!

License

This is a open-source software licensed under the MIT license