Setup

To use the DraftPosts API, install the @wix/blog package using npm or Yarn:

Copy
1

or

Copy
1

Then import { draftPosts } from @wix/blog:

Copy
1
Was this helpful?
Yes
No