Topic: MDBStretchedLink - work with Router Link
                  
                  Storism
                  free
                  asked 6 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
                        answered 6 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: 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