Skip to content

Menus

This module provides a helper for fetching the store's menus.

How to use

ts
const menus = await youcanjs.menu.fetch();

Returns

Promise of Menu array.

Throws

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