You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
Prerequisites
Fastify version
4.11.0
Plugin version
0.1.0
Node.js version
16.3.1
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
MacOS Ventura 13.1
Description
Navigating using
vue-router
named route is not working both during programmatic navigation and when usingRouterLink
component. This is because thename
of the route is not passed when creating the routes here, https://github.com/fastify/fastify-dx/blob/main/packages/fastify-vue/virtual/routes.js#L33.To fix, I will suggest adding
name: routeDef.name
here.I can open a PR for this.
Steps to Reproduce
index.vue
file, change theRouterLink
component to use a named route instead of a path.Expected Behavior
The application should navigate to a new route
The text was updated successfully, but these errors were encountered: