shipsCRUD is not a function error if put js file in webpack.mix.js

Hello,
In my laravel 6 app I use js files which I attach in in blade file
resources/views/ship/index.blade.php like :

@endsection

@section('scripts')

<link rel="stylesheet" href="{{ asset('/css/jquery.dataTables.min.css') }}" type="text/css">

<script src="{{ asset('js/jquery.dataTables.min.js') […]

See original post by invalid@example.com (mstdmstd)

Leave a Reply

shipsCRUD is not a function error if put js file in webpack.mix.js

Hello,
In my laravel 6 app I use js files which I attach in in blade file
resources/views/ship/index.blade.php like :

@endsection

@section('scripts')

<link rel="stylesheet" href="{{ asset('/css/jquery.dataTables.min.css') }}" type="text/css">

<script src="{{ asset('js/jquery.dataTables.min.js') […]

See original post by invalid@example.com (mstdmstd)

Leave a Reply