I copied below directly from the v5.1 documentation and just updated my href. The link works in a dropdown I have but I want to leverage the below buttons instead.
<a href="/events/?future=true" class="btn btn-primary active" role="button" data-bs-toggle="button" aria-pressed="true">Upcoming events</a>
<a href="/events/?past=true" class="btn btn-primary" role="button" data-bs-toggle="button">Past events</a>
Below is in my boilerplate.ejs file:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
Which is from the install page.
My buttons click and light up, but don’t change the route. Why isn’t this working?