@fonderie/vue-config-admin

Vue 3 composables for the Fonderie config admin API (feature flags/remote config + secrets) — thin bindings over @fonderie/client's ConfigAdminClient.
3,077 5
Install
npm install @fonderie/vue-config-admin
Latest Version:0.3.4
Vue:3
License:MIT
Last Updated:Oct 19, 2026
Links: GitHub  ·  npm
Maintainer: fonderie

@fonderie/vue-config-admin

Vue 3 composables for the Fonderie config admin API — feature flags/remote config (useConfigEntries, useConfigEntry, useSaveConfigEntry, useDeleteConfigEntry, useConfigRevisions) and secrets (useSecrets, useSecret, useSaveSecret, useDeleteSecret, useSecretRevisions, useRevealSecret). Thin bindings over @fonderie/client's ConfigAdminClient: reactive refs for loading/error/data state and the request itself, nothing else. Bring your own UI.

Install

npm install @fonderie/vue-config-admin

Use

<script setup>
import { ConfigAdminClient } from '@fonderie/client';
import { useConfigEntries, useRevealSecret } from '@fonderie/vue-config-admin';

const admin = new ConfigAdminClient({
  baseUrl: 'https://api.example.com/v1',
  adminToken: import.meta.env.VITE_FONDERIE_ADMIN_TOKEN,
});

const { entries } = useConfigEntries(admin);
const { revealSecret } = useRevealSecret(admin);
</script>

<template>
  <ul>
    <li v-for="e in entries" :key="e.key">{{ e.key }}</li>
  </ul>
</template>

This client is deliberately separate from FonderieClient. Config's /admin/config/* and /admin/secrets/* routes are guarded by a static bearer token configured on the server (ConfigModule's adminToken), not the signed-in user's session — the same model @fonderie/vue-courier-admin uses. Construct ConfigAdminClient with that token directly; it does not share state with AuthClient/BillingClient/WorkspacesClient.

Want pre-built screens instead of wiring your own dashboard? See @fonderie/vue-config-admin-screens.

Why this exists

You've shipped this plumbing before — auth, teams, billing, messaging — and the next project will ask for it again. Fonderie packages it once: plain TypeScript modules for @fonderie/core, PostgreSQL-backed, self-hosted, MIT. No external control plane, no per-seat anything. Register the modules you need; skip the ones you don't.

This package owns the Vue binding for config's admin API — reactive state management around @fonderie/client, nothing more. No business logic lives here; it lives in @fonderie/config on the server.

Browse the whole set at fonderiejs/fonderie · follow @fonderiejs

License

MIT © Fonderie, Inc.

Related Packages

@fonderie/vue-config-admin-screens

Pre-built Vue screens for the Fonderie config admin API — config/secret list, co...

2,245 5
@fonderie/vue-admin

Vue composables over @fonderie/admin — the operator's surface. One composable pe...

2,497 5
@fonderie/vue-courier-admin

Vue 3 composables for the Fonderie courier admin API (email/SMS/push template ma...

1,980 5
@fonderie/vue-auth

Vue composables for Fonderie auth — thin bindings over @fonderie/client.

4,674 5
@fonderie/vue-webhooks

Vue 3 composables for Fonderie's outgoing webhooks — thin bindings over @fonderi...

2,583 5

Version History

Version Released License
0.3.4 MIT
0.3.3 MIT
0.3.2 MIT
0.3.1 MIT
0.3.0 MIT