justbetter / statamic-component-preview
Installs: 1 009
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
This package is not auto-updated.
Last update: 2025-05-10 12:48:22 UTC
README
How to Install
composer require justbetter/component-preview
Make sure to create a folder component-previews
in your public folder, it is possible to define a different folder in your public directory by changing the COMPONENT_PREVIEW_IMAGE_FOLDER
ENV variable.
You can upload your component screenshots in this folder.
When adding the Preview component to a set in a replicator you can choose from one of the images uploaded in the /public/component-previews
folder.