moukbel
147
2
Vue

how to make menu Active in Slidebar Menu

Posted 1 month ago by moukbel

hi,

i have to use this method in laravel to set current page as active in menu

<li class="nav-item">
                  <a href="/stocks" class="nav-link {{ request()->is('stocks') ? 'active' : '' }}">
                      <p>Stocks </p>
                  </a>
  </li>

Any idea how to do the same thing in Vue Component Menu, without using ?

thanks

Please sign in or create an account to participate in this conversation.