FastComments.com

FastComments Vue 3 Library

This is the official Vue 3 Library for FastComments.

FastComments commenting widgets for Vue 3

Repository

View on GitHub

Installation Internal Link

NPM

npm install --save fastcomments-vue-next

Yarn

yarn add fastcomments-vue-next

Updating The Current Page (SPA Example) Internal Link

In FastComments we call the article id, or page the comments get tied to, the URL ID as it can be a url or an ID. Define the URL ID in the following manner. The component watches for changes in config object, and will reload, so you can update the URL ID.

<FastComments v-bind:config="{tenantId: 'demo', url: 'https://example.com/somepage', urlId: 'some-page-id'}" />

Account Region (ATTENTION: EU Customers)

If your account is located in the EU, set region = 'eu' in the widget configuration, for example:

<FastComments v-bind:config="{tenantId: 'demo', url: 'https://example.com/somepage', urlId: 'some-page-id', region: 'eu'}" />

Otherwise, you do not have to define region.

In Production Internal Link

You probably don't want to define the config inline if you're passing callbacks etc. Instead, you'll want to define the config via computed(), otherwise each time your callback etc is invoked the entire widget will re-render.

All Widgets and Documentation Internal Link

Run the local documentation:

npm run serve

FastComments Internal Link

FastComments

This documentation contains a few examples of how to use FastComments with Vue3.

For a full list of configuration options, see fastcomments-typescript and our documentation.

Need Help?

If you encounter any issues or have questions about the Vue 3 Library, please:

Contributing

Contributions are welcome! Please visit the GitHub repository for contribution guidelines.