diff --git a/resources/js/components/DataTable.vue b/resources/js/components/DataTable.vue new file mode 100644 index 0000000..cc861e8 --- /dev/null +++ b/resources/js/components/DataTable.vue @@ -0,0 +1,220 @@ + + + + + + {{ title }} + + + + + Sort by... + + {{ option.name }} + + + + + + + + + + + + + + + + + + + + + + + {{ column.label }} + + + Actions + + + + + + + + + + + + + + + + + + {{ item[column.key] }} + + + + + + View + + + Delete + + + + + + + + + + + + Showing {{ data.length }} results + + + + Previous + + + Next + + + + + + + +
+ Showing {{ data.length }} results +