move to tiktok-matrix
tiktok-server is the back end of this project
# vue
git clone https://github.com/niostack/tiktok-vue.git
cd tiktok-vue
npm install
# for demo
npm run dev
# for production
npm run build
# install tailwindcss
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init -p
<Pagination :items="devices" :pageSize="5" searchKeys="name">
<template v-slot:buttons>
<Button label="Button 1" />
<Button label="Button 2" />
<!-- 添加更多按钮 -->
</template>
<template v-slot:default="slotProps">
<div v-for="item in slotProps.items" :key="item.id">
<!-- 在这里添加你自己的内容 -->
</div>
</template>
</Pagination>