Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Navbar-Item link broken when not using router.

Matt Rademacher free asked 6 years ago


Why does navbar-item prepend the href with a #  in the link computed property? link() { return this.router ? this.href : '#' + this.href; } This breaks the links for me but it works great by using the provided href prop as is. Am I missing something or is this a bug?   ** actual version not available in the drop down**  version  4.8.1  

Mikołaj Smoleński staff answered 6 years ago


Hi Matt, Did You try to use router boolean prop as in the following example?
<navbar-item router href="/css" waves-fixed>CSS</navbar-item>
Best Regards


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.6.0
  • Device: Surfacbook Pro 2
  • Browser: Firefox
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No
Tags