justbetter/statamic-component-preview

There is no license information available for the latest version (1.0.0) of this package.

1.0.0 2024-08-30 11:28 UTC

This package is not auto-updated.

Last update: 2024-12-21 11:13:46 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.