Introduction
Preview templates allow you to configure the image parameters used in attributes. By applying a template to an attribute of type "Image" or "Image Group," you will get images standardized according to the specifications in the preview template. This is convenient if the design of your project is sensitive to image sizes. By configuring the preview template, you can change the image parameters that the end user will see.
const config = {
token:'your-app-token',
};
const { TemplatePreviews } = defineOneEntry('your-url', config);