I am using Inertia to build my application. When it comes to handling the datatable in my Inertia Vue.js application, how can I handle it? What is the best idea?
mounted() {
$(this.$refs.table).DataTable({
data: this.data,
columns: [
{ title: 'ID', data: 'id' },
{ title: 'Name', data: 'name' },
]
});
}