-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
What problem does this feature solve?
It would be convenient to have a shortcode for routing by name of the route. This will save the user from constantly passing an object with only one "name" field
What does the proposed API look like?
I propose to create a shortcut:
<router-link to-name="home"> Home page </router-link>that will be equal to
<router-link :to="{name: 'home'}"> Home page </router-link>Metadata
Metadata
Assignees
Labels
No labels