@weimax/use-list
v2.0.0
Published
## Motivation - efficient to query, filter table data
Downloads
1
Readme
@weimax/use-list
Motivation
- efficient to query, filter table data
Features:
- auto import cmj or esm
Use
npm install
<template>
<div v-for="(item, index) in list" :key="item.name + item.age">
</div>
</template>
<script setup lang='ts'>
import useList from '@weimax/use-list';
const { list, curPage, loadData, reset } = useList(getList, { filterOption });
</script>
Notice
- peer-denpendency need vue3