Skip to content

Pages

This module provides a halper for fetching the store's pages.

INFO

This module is using the Pagination module. The Pagination module to be documented.

How to use

ts
const response = youcanjs.page.fetchAll();
const pages = await response.data();
const nextPage = response.next().data();

Returns

Array of Pages.

Throws

ApplicationException if the request fails, or any other error occurs.