To use the Plans API, install the @wix/pricing-plans package using npm or Yarn:
@wix/pricing-plans
npm install @wix/pricing-plans
or
yarn add @wix/pricing-plans
Then import { plans } from @wix/pricing-plans:
{ plans }
import { plans } from "@wix/pricing-plans";