Setup

To use the Stores API, install the @wix/stores package using npm or Yarn:

Copy
1
npm install @wix/stores

or

Copy
1
yarn add @wix/stores

Then import stores from @wix/stores:

Copy
1
import stores from '@wix/stores'
Was this helpful?
Yes
No