UNPKG

@scayle/storefront-nuxt

Version:

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

14 lines (13 loc) 388 B
import { useRpc } from "../core/useRpc.js"; export function useNavigationTreeById({ params, options } = {}, key = "useNavigationTreeById") { return useRpc("fetchNavigationTreeById", key, params, options); } export function useNavigationTreeByName({ params, options } = {}, key = "useNavigationTreeByName") { return useRpc("fetchNavigationTreeByName", key, params, options); }