I am currently working on integrating the bootstrap-material-design theme into my existing Bootstrap website.
In the main.blade.php
file, I have added the following code snippet to include the necessary stylesheets.
<!-- CSS -->
<link href="/css/all.css" rel="stylesheet">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.2.1/css/material.min.css" />
{{--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/css/material-fullpalette.min.css" />--}}
<!-- Scripts -->
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://code.jquery.com/ui/1.10.2/jquery-ui.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/js/material.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/js/ripples.min.js'></script>
<script type="text/javascript"></script>
The above snippet is part of my main blade file, which serves as the wrapper for all views in my project.
Following the documentation, at the bottom of this main blade file, I have included the following JavaScript:
<script>
$(document).ready(function() {
$.material.init();
});
</script>
Despite adding the required JS, when interacting with buttons or navbar elements, there is no ripple effect visible. There are also no errors displayed in the console.
Is there any additional code that needs to be implemented in order to enable the ripple effect on button classes?
EDIT:
Here's a screenshot of the Network tab: https://i.sstatic.net/Y3uEm.png