Skip to content

useShopwareContext

useShopwareContext

Types

ts
export function useShopwareContext(): ShopwareContext

source code

ts
export type ShopwareContext = {
  devStorefrontUrl: string | null;
  /**
   * Shopware API client
   */
  apiClient: ApiClient;
};

source code