Difference between usePage and defineProps #1682
Unanswered
whitespacecode
asked this question in
Help (Vue)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking to get some Types added to existing code and when i tried adding
<Client>
where i was using usePage() it didn't work. Saying 'Expected 1 arguments, but got 2'.That made me wonder what the difference is between usePage or getting the props with vue3 options ?
I changed the workflow to not having usePage()
Beta Was this translation helpful? Give feedback.
All reactions