@avorati/strapi-plugin-preview
v1.1.0
Published
A plugin to display the frontend in preview mode.
Readme
Strapi Plugin Preview
A Strapi plugin that allows you to view the frontend in preview mode.
Installation
yarn add @avorati/strapi-plugin-preview
# or
npm install @avorati/strapi-plugin-previewConfiguration
The plugin uses peerDependencies to avoid duplication of common Strapi dependencies. This means:
- Plugin-specific dependencies (
minimatch,lucide-react) are installed automatically - Common Strapi dependencies (
react,@strapi/strapi, etc.) are reused from the main project - Local development still works with all dependencies in
devDependencies
For local development
If you want to modify or test the plugin locally:
# Clone the repository
git clone https://github.com/avorati/strapi-plugin-preview.git
cd strapi-plugin-preview
# Install development dependencies
yarn install
# Run in watch mode
yarn watchUsage
After installation, the plugin will be available in the Strapi admin panel.
Dependency Structure
dependencies: Only plugin-specific dependenciespeerDependencies: Dependencies that should be provided by the main projectdevDependencies: All dependencies needed for local development
License
MIT
