Replies: 1 comment
-
Because it's difficult to serialize the function then pass it to frontend, I suggest you modify the routes directly from |
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
-
Hi,
I was testing the template as I am interested in using it on some projects as starting point. But I can't manage to add the beforeEnter hook at route level, by this I mean:
When using extendRoute I am getting the following error.
And this is the current setup in the extendRoute options:
I don't know if someone already manage to implement this. And also I searched in the repository of vite-plugin-page but i didn't found anything related to, and also ask in the discussion but I don't have any response so I tried here if someone is trying to implement something similar. So I ask here in the hope that someone here has encountered the same problem.
Beta Was this translation helpful? Give feedback.
All reactions