You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > renderContentFactory

renderContentFactory() function

Signature:

export declare function renderContentFactory(factoryParams: RenderContentFactoryParams<RenderComponent[]>): {
    render: (createElement: any) => any;
    props: {
        content: PropOptions<any>;
    };
};

Parameters

Parameter Type Description
factoryParams RenderContentFactoryParams<RenderComponent[]>

Returns:

{ render: (createElement: any) => any; props: { content: PropOptions<any>; }; }