beforeRouteEnter called twice. ( dynamic import, lazy loading) #1785
Replies: 1 comment
-
solve this question. my setting is anti pattern. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a router that dynamically imports the same component with different paths, and when I refresh the page and move the router to a different path with the same component, the beforeRouteEnter hook is called twice. How can I solve this issue?
vue3 + vuerouter4 + vite
vite-dev-server
Beta Was this translation helpful? Give feedback.
All reactions