
Language 🇺🇸 English (US)
Getting Started
Usage
Documentation
FastComments Vue 3 Library
This is the official Vue 3 Library for FastComments.
FastComments commenting widgets for Vue 3
Repository
Usage 
The Comment Widget
The FastCommentsVueNext component contains the live FastComments comment widget.
Replace "demo" below with your "tenantId" — available here in the FastComments admin area.
The widget supports many options — see FastCommentsConfig here.
<template>
<FastComments v-bind:config="{tenantId: 'demo'}" />
</template>
<script>
import { FastComments } from 'fastcomments-vue-next'
export default {
name: 'FastCommentsExample',
components: {
FastComments
}
}
</script>
Updating The Current Page (SPA Example) 
In FastComments, we refer to the article ID — or the page the comments are tied to — as the URL ID, since it can be a URL or an ID. Define the URL ID as follows. The component watches for changes in the 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 don't have to define region.
In Production 
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.
FastComments 
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.