@sweberdev/derivative-vue

Vue 3 bindings for Derivative: a "What's new" button and a composable for unread releases.
Install
npm install @sweberdev/derivative-vue
Latest Version:2.0.0
Vue:3
License:MIT
Last Updated:Oct 13, 2026
Links: GitHub  ·  npm
Maintainer: sxwxbxr

@sweberdev/derivative-vue

Vue 3 bindings for Derivative: the <derivative-widget> as a component and a composable for your own UI.

pnpm add @sweberdev/derivative @sweberdev/derivative-vue
<script setup lang="ts">
import { WhatsNew } from "@sweberdev/derivative-vue";
</script>

<template>
  <WhatsNew src="/changelog.json" lang="de" highlight search @read="(id) => console.log(id)" />
</template>

Props match the widget attributes in camelCase (storageKey), with types as an array and search and hints as booleans, highlight as true, "toast", "banner" or "modal", audience as an array, plus feed, messages and an icon slot. Events: open and read. In Nuxt, wrap it in <ClientOnly>.

useChangelog({ src }) returns refs status, feed, releases, unread, error and a markAllRead() function for building your own UI.

Docs: packages.sweber.dev/derivative/docs/guides/vue. MIT licensed.

Related Packages

loglive

Render changelog.md on the fly.

4,690 152
vite-plugin-app-version

Vite plugin to generate an app version file (version.json) and optional virtual...

2,979 1
@forumulate/nuxt

Nuxt module for Forumulate: auto-registered comments, search, changelog and feed...

206
vite-plugin-refresh-guard

Vite plugin for web update notification — detect a new version on every page loa...

2,895 3

Version History

Version Released Vue License
2.0.0 >=3.3 MIT
1.0.0 >=3.3 MIT
0.9.0 >=3.3 MIT
0.8.0 >=3.3 MIT
0.7.0 >=3.3 MIT
Pre-releases (1)
Version Released Vue License
2.0.0-next.0 >=3.3 MIT