PreviewControllerhas been registered incontrollers.jsonPreviewControlleruses a new standardized prefixpreview→@sylius-cms-plugin/admin/preview.
In your end application, run the following command to add a new dependency to package.json file:
yarn add @sylius-cms-plugin/admin@file:vendor/sylius/cms-plugin/assets/adminAnd add the following to your controllers.json file:
{
"@sylius-cms-plugin/admin": {
"preview": {
"enabled": true,
"fetch": "lazy"
}
}
}