# fastcomments-vue-next

> > A Vue 3.0 library for FastComments, a fast and developer friendly comment system.

Latest version **5.1.2** (published 2026-05-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install fastcomments-vue-next
pnpm add fastcomments-vue-next
yarn add fastcomments-vue-next
bun add fastcomments-vue-next
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 5.1.2 |
| Published | 2026-05-03 |
| First published | 2020-10-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 40.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | winrid |
| Maintainers | winrid-org |

## Links

- npm: https://www.npmjs.com/package/fastcomments-vue-next
- npm.io page: https://npm.io/package/fastcomments-vue-next

## Dependencies (2)

- [vue](https://npm.io/package/vue.md) ^3.2.37
- [fastcomments-typescript](https://npm.io/package/fastcomments-typescript.md) ^3.0.0

## Recent versions

- 5.1.2 (latest) — 2026-05-03
- 5.1.0 — 2026-04-18
- 5.0.1 — 2025-03-18
- 5.0.0 — 2025-01-16
- 4.0.1 — 2022-09-18
- 4.0.0 — 2022-09-08
- 3.1.0 — 2022-06-17
- 3.0.2 — 2021-11-05
- 3.0.1 — 2021-11-03
- 2.1.0 — 2021-10-30
- 2.0.1 — 2021-06-19
- 1.0.8 — 2021-05-05
- 1.0.7 — 2021-04-20
- 1.0.6 — 2021-04-14
- 1.0.5 — 2021-01-11
- … 5 more at https://npm.io/package/fastcomments-vue-next/versions

## README

# fastcomments-vue-next

> A Vue 3.0 library for FastComments, a fast and developer friendly comment system.

[![NPM](https://img.shields.io/npm/v/fastcomments-vue-next.svg)](https://www.npmjs.com/package/fastcomments-vue-next) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Live Demo

Try every widget live at <https://fastcomments.com/commenting-system-for-vue>.

## Live Showcase

To see every widget and flow running locally against the public `demo` tenant, clone the repo and run:

```bash
npm install
npm run dev
```

The showcase entry point lives in `src/App.vue` and `index.html` — each widget/flow is rendered in the same app you can copy into your own Vue 3 project.

## Installation

[![npm](https://img.shields.io/npm/v/fastcomments-vue-next?logo=npm&label=npm&color=cb3837)](https://www.npmjs.com/package/fastcomments-vue-next)

### NPM

```bash
npm install --save fastcomments-vue-next
```

### Yarn

```bash
yarn add fastcomments-vue-next
```

## Usage

### The Comment Widget

The FastCommentsVueNext component contains the live FastComments comment widget.

Replace "demo" below with your "tenantId" - available [here](https://fastcomments.com/auth/my-account/api) in the FastComments admin area.

The widget supports a lot of options - see FastCommentsConfig [here](https://github.com/FastComments/fastcomments-typescript/blob/eae973fb7885de4df58b21b7a22a3e40c89feefa/src/fastcomments-config.ts#L14).

```vue
<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 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.

```vue
<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:

```vue
<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

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

Run the local documentation:

```bash
npm run serve
```

## Contributing
Please check out our [contribution guidelines](CONTRIBUTING.md) before starting on a change. Remember to communicate first!

## License

MIT © [winrid](https://github.com/winrid)

## Maintenance Status

These components are wrappers around our core VanillaJS components. We can automatically update these components (fix bugs, add features) without publishing this library, so while it may not be published for a while that does not mean FastComments is not under active development! Feel free to check [our blog](https://blog.fastcomments.com/) for updates. Breaking API changes or features will never be shipped to the underlying core library without a version bump in this library.

---
_Source: https://npm.io/package/fastcomments-vue-next · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
