Installation
The VueList plugin must be installed in your Vue 3 application to register all components globally.Plugin Options
The plugin accepts a configuration object with the following options:Prefix to add to all VueList component names. For example, if you set
componentPrefix: 'My', components will be registered as MyVueList, MyVueListItems, etc.A global request handler function that fetches data for all VueList instances. This function receives request data and must return a Promise that resolves with an object containing
items and count.Custom state manager for persisting list state across navigation. Useful for maintaining pagination, search, and filter state.
Registered Components
When the plugin is installed, the following components are registered globally:VueList- Main list containerVueListItems- Items rendererVueListPagination- Pagination controlsVueListSearch- Search inputVueListInitialLoader- Loading indicator during initial loadVueListLoader- Loading indicator during subsequent loadsVueListError- Error message displayVueListSummary- Results summaryVueListPerPage- Per page selectorVueListLoadMore- Load more buttonVueListGoTo- Go to page inputVueListRefresh- Refresh buttonVueListAttributes- Attribute column controlsVueListEmpty- Empty state display
All components can be prefixed using the
componentPrefix option.