-
Hello!! Please tell me someone... I want to use
I was try to chenge keyword. but, only change |
Beta Was this translation helpful? Give feedback.
Answered by
lbineau
May 4, 2023
Replies: 1 comment 1 reply
-
It would be useful to see the code about My answer on a similar topic will probably help you. const itemsLength = computed(() => props.items.length)
useOffsetPagination({ total: itemsLength }) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
komacha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful to see the code about
useOffsetPagination
I believe you run into the same issue that me (and you also use it like in the demo https://github.com/vueuse/vueuse/blob/main/packages/core/useOffsetPagination/demo.vue#L50)
My answer on a similar topic will probably help you.
TL;DR just wrap the number inside a
Ref
like: