skip to Main Content

Can all routes be active in Laravel if linked?

i have an issue. If i give to my links routes, all of them becomes active <li class="{{ (strpos(Route::currentRouteName(), 'dashboard') == 0) ? 'active' : '' }}"> <a href="{{ route('dashboard') }}"> <i class="uil uil-dashboard me-2 d-inline-block"></i>Dashboard</a></li> Can somebody explain me…

VIEW QUESTION

“Does Laravel not replace Bootstrap CSS variables?”

I am developing some custom styles in Laravel and overriding the default bootstrap color variables. This is inside my app.scss @import '~bootstrap/scss/bootstrap'; @import "node_modules/font-awesome/scss/font-awesome.scss"; $primary: #625BF6; $danger: #ff4136; .btn-primary { --bs-btn-bg: $primary; --bs-btn-hover-bg: #6b64f5; --bs-btn-active-bg: #534bf3; } I have also…

VIEW QUESTION
Back To Top
Search