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