Skip to content

crelte / loadData / extractEntry

Function: extractEntry()

ts
function extractEntry(page): Entry | null;

Get the entry from the page

entries should export sectionHandle and typeHandle

products should alias productTypeHandle with typeHandle, sectionHandle will be automatically set to product

Parameters

page

any

Returns

Entry | null