Quick Start
This guide will walk you through creating your first list with VueList. By the end, you’ll have a working paginated list with search functionality.Prerequisites
Before starting, make sure you have:- VueList installed in your project
- A working Vue 3 application with Vue Router
Installation
Haven’t installed VueList yet? Start here.
Steps
Configure the Plugin
Register VueList in your
main.js file and configure the request handler:main.js
The
requestHandler is called automatically whenever the list needs to fetch data (on mount, page change, search, etc.)Complete Working Example
Here’s a complete example with all the common features:ProductList.vue
Key Concepts
Component Props
TheVueList root component accepts these key props:
endpoint- The API endpoint name (passed to your requestHandler)per-page- Number of items per page (default: 25)pagination-mode- Either"pagination"or"loadMore"(default: “pagination”)filters- Reactive filter object that triggers refetch when changedsearch- Initial search querysort-by- Initial sort columnsort-order- Initial sort direction (“asc” or “desc”)
Slot Props
Most components expose slot props for customization:Reactive Filters
Filters are fully reactive - any change automatically refetches the list:Load More Mode
Switch to load-more pagination for infinite scroll-style UIs:Programmatic Access
Access list state and methods via template refs:Next Steps
Components
Explore all available components and their props
Configuration
Configure request handler and state manager
API Reference
Detailed API documentation
Guides
Learn advanced usage patterns