Broadleaf Microservices
  • v1.0.0-latest-prod

Commerce Subscription Microfrontend

Provides React UI components, hooks, and utilities to support Subscriptions in a React-based storefront.

Table of Contents

Installation

Using the package manager of your choice, run the following command inside your project directory to add the Subscription React library and its required dependencies:

npm install @broadleaf/commerce-subscription-react @broadleaf/auth-react @broadleaf/commerce-customer @broadleaf/commerce-shared-react @headlessui/react classnames formik lodash react react-dom react-intl
# or
yarn add @broadleaf/commerce-subscription-react @broadleaf/auth-react @broadleaf/commerce-customer @broadleaf/commerce-shared-react @headlessui/react classnames formik lodash react react-dom react-intl
Tip
These required dependencies are already included by the Next.js Starter project.

Directory