To use the Stores API, install the @wix/stores package using npm or Yarn:
@wix/stores
Copy Codenpm install @wix/stores
npm install @wix/stores
or
Copy Codeyarn add @wix/stores
yarn add @wix/stores
Then import stores from @wix/stores:
stores
Copy Codeimport stores from '@wix/stores'
import stores from '@wix/stores'