Skip to content

Menus ​

Last updated View as Markdown

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.