datatable is not a function npm out of index code example
Example: $(...).DataTable is not a function
Plain text1<br><script src = "http://cdn.datatables.net/1.10.18/js/jquery.dataTables.min.js" defer ></script>
//Just add defer at the end of this script