The generated route does not have a name #367
-
import { routes } from 'vue-router/auto-routes' |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 17, 2024
Replies: 1 comment 1 reply
-
The routes that do not have a component won't have a name generated to avoid visiting them by accident. You can always define a name in one of the hooks like extendRoute, extendRoutes, or beforeWrite |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The routes that do not have a component won't have a name generated to avoid visiting them by accident. You can always define a name in one of the hooks like extendRoute, extendRoutes, or beforeWrite