thoughtco / statamic-cplisting
There is no license information available for the latest version (1.0.0) of this package.
Adds a cp-listing component to Statamic v3 for control panel lists
Package info
github.com/thoughtco/statamic-cplisting
Language:Vue
pkg:composer/thoughtco/statamic-cplisting
1.0.0
2021-02-26 10:50 UTC
This package is auto-updated.
Last update: 2026-02-26 22:09:53 UTC
README
Provides a <cp-listing> component to use within Statamic v3 for searchable, filterable listing views.
To install:
composer require thoughtco/statamic-cplisting
Then run composer update
To use:
<cp-listing :filters="{{ $filters->toJson() }}" :listing-config="{{ collect([ 'preferencesPrefix' => 'namespace.myurl', 'requestUrl' => 'namespace/api/myurl', 'editUrl' => 'namespace/myurl/edit/', 'deleteUrl' => 'namespace/myurl/delete/', 'listingUrl' => 'namespace/myurl', ])->toJson() }}" ></cp-listing>