cannot read property swing of undefined

It looks like Materialize uses extend, so you'll need the full version of jQuery - the slim version will not work.


Just change the Jquery.slim to a normal Jquery. It works with me


Use 'jquery-3.5.1.min.js' instead of 'jquery-3.5.1.slim.min.js'. It worked for me.


When you use material Design Bootstrap,

<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">

<script
src="https://code.jquery.com/jquery-3.2.1.js"
integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="
crossorigin="anonymous"></script>


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.1/css/mdb.min.css" />
</head>

AND Put Script File at end of "body" section:

<body>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.1/js/mdb.min.js"></script>

</body>

Don't forget to use uncompressed version of JQuery as mentioned above.