MDBStretchedLink - work with Router Link


Topic: MDBStretchedLink - work with Router Link

Storism asked 5 years ago

Expected behavior

MDB Stretched Link should allow a :to attribute, it only works with HREF

Actual behavior

Link does not work

Resources (screenshots, code snippets etc.)

<mdb-stretched-link :to="{ name: 'model', params: { id: `${model.id}`, name: `${model._name}` } }" class="stretched-link">Go somewhere</mdb-stretched-link>

Magdalena Dembna staff premium answered 5 years ago

We will add it in the next release. Although, as the default tag is the a tag you will need to add the following line: tag="router-link". Kind regards, Magdalena


Storism commented 5 years ago

Great - thank you. I will hang on for the implementation.


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
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.0.1
  • Device: MacBook Pro
  • Browser: Chome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No