Appearance
<script setup> import { ref } from "vue"; const currentPage = ref(1) function switchPage(page) { currentPage.value = page } </script> <Pagination :page="currentPage" :count="100" @switch-page="switchPage" />