To use the Categories API, install the @wix/categories package using npm or Yarn:
@wix/categories
1
or
Then import { categories } from @wix/categories:
{ categories }