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