Reactive data #428
Answered
by
manchenkoff
NielsKok87
asked this question in
Q&A
-
|
Can someone show me how I can work with reactive data in the params/query? |
Beta Was this translation helpful? Give feedback.
Answered by
manchenkoff
Sep 26, 2025
Replies: 1 comment
-
|
Should be possible by doing like this const page = ref(1)
const { data: posts } = await useSanctumFetch(
'/posts',
{
query: { page_num: page }
},
{
watch: [page],
},
)Let me know if it doesn't work |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
manchenkoff
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should be possible by doing like this
Let me know if it doesn't work