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