docs(pagination): update

This commit is contained in:
Benjamin Canac
2024-09-26 17:00:54 +02:00
parent 04a2f2b7a0
commit 5b62a8c8ca
3 changed files with 361 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
<script setup lang="ts">
const page = ref(5)
function to(page: number) {
return {
query: {
page
},
hash: '#with-links'
}
}
</script>
<template>
<UPagination v-model:page="page" :total="100" :to="to" :sibling-count="1" show-edges />
</template>