Skip to content

TypeScript API / @laikacms/astro/loader / documentsLoader

Function: documentsLoader() ​

ts
function documentsLoader(options?): LaikaLoader;

A Content Layer loader over a Laika DocumentsRepository.

Parameters ​

ParameterType
optionsDocumentsLoaderOptions

Returns ​

LaikaLoader

Released under the MIT License.