anonymouse703
1 month ago
275
7
Laravel

DataTable in Laravel Mix not working

Posted 1 month ago by anonymouse703

Hello everyone I used laravel mix to compile all the JS files including dataTable but when I used it it's not working.

<script type="text/javascript">
    $(document).ready(function(){
        $('#home_header').DataTable({
            responsive: true,
            'dom': 'ftp',
            'pageLength': 10
        })

    });
</script>

What I'm lacking?

Please sign in or create an account to participate in this conversation.