Gathering detailed insights and metrics for vue3-easy-data-table
Gathering detailed insights and metrics for vue3-easy-data-table
Gathering detailed insights and metrics for vue3-easy-data-table
Gathering detailed insights and metrics for vue3-easy-data-table
A customizable and easy-to-use data table component made with Vue.js 3.x
npm install vue3-easy-data-table
75.3
Supply Chain
99.1
Quality
76.1
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
538 Stars
373 Commits
108 Forks
10 Watching
62 Branches
13 Contributors
Updated on 04 Nov 2024
Vue (52.68%)
TypeScript (31.73%)
SCSS (8.35%)
JavaScript (6.95%)
HTML (0.3%)
Cumulative downloads
Total Downloads
Last day
-10.8%
3,241
Compared to previous day
Last week
3.6%
18,467
Compared to previous week
Last month
-4.6%
75,552
Compared to previous month
Last year
46%
835,293
Compared to previous year
vue3-easy-data-table is a customizable and easy-to-use data table component made with Vue.js 3.x.
https://hc200ok.github.io/vue3-easy-data-table-doc/
1.2.3
)1.2.4
)1.2.10
)1.2.10
)1.2.25
)1.3.2
)1.3.11
)1.3.11
)1.3.11
)1npm install vue3-easy-data-table 2// or 3yarn add vue3-easy-data-table
1import Vue3EasyDataTable from 'vue3-easy-data-table'; 2import 'vue3-easy-data-table/dist/style.css'; 3 4const app = createApp(App); 5app.component('EasyDataTable', Vue3EasyDataTable);
1<template> 2 <EasyDataTable 3 :headers="headers" 4 :items="items" 5 /> 6</template> 7 8<script lang="ts"> 9import type { Header, Item } from "vue3-easy-data-table"; 10 11export default defineComponent({ 12 setup() { 13 const headers: Header[] = [ 14 { text: "Name", value: "name" }, 15 { text: "Height (cm)", value: "height", sortable: true }, 16 { text: "Weight (kg)", value: "weight", sortable: true }, 17 { text: "Age", value: "age", sortable: true } 18 ]; 19 20 const items: Item[] = [ 21 { "name": "Curry", "height": 178, "weight": 77, "age": 20 }, 22 { "name": "James", "height": 180, "weight": 75, "age": 21 }, 23 { "name": "Jordan", "height": 181, "weight": 73, "age": 22 } 24 ]; 25 26 return { 27 headers, 28 items 29 }; 30 }, 31}); 32</script>
1<link href="https://unpkg.com/vue3-easy-data-table/dist/style.css" rel="stylesheet"> 2<script src="https://cdn.jsdelivr.net/npm/vue@3.2.1/dist/vue.global.js"></script> 3<script src="https://unpkg.com/vue3-easy-data-table"></script> 4 5<div id="app"> 6 <easy-data-table 7 :headers="headers" 8 :items="items" 9 /> 10</div> 11 12<script> 13 const App = { 14 components: { 15 EasyDataTable: window['vue3-easy-data-table'], 16 }, 17 data () { 18 return { 19 headers:[ 20 { text: "Name", value: "name" }, 21 { text: "Height (cm)", value: "height", sortable: true }, 22 { text: "Weight (kg)", value: "weight", sortable: true }, 23 { text: "Age", value: "age", sortable: true } 24 ], 25 items: [ 26 { "name": "Curry", "height": 178, "weight": 77, "age": 20 }, 27 { "name": "James", "height": 180, "weight": 75, "age": 21 }, 28 { "name": "Jordan", "height": 181, "weight": 73, "age": 22 } 29 ], 30 } 31 }, 32 }; 33 Vue.createApp(App).mount('#app'); 34</script>
Shout out to the people who made new feature requests and reported issues to make this component better.
No vulnerabilities found.
No security vulnerabilities found.