modules icon indicating copy to clipboard operation
modules copied to clipboard

[Module Listing Request]: `nuxt-feature-flags-module `

Open nicokempe opened this issue 9 months ago • 0 comments

Description

Nuxt Feature Flags brings a lightweight, environment‑based feature flag system to Nuxt 3. It lets you conditionally expose features across components, pages, route middleware, and server APIs based on explicit environments like development, staging, or production. The module ships with a useFeatureFlag composable, a v-feature directive, page metadata helpers, and server utilities that include build‑time validation to catch undeclared flags before they ship.

Highlights

  • Hide unfinished features in production
  • Roll out betas to staging or preview environments
  • Guard pages, routes, and APIs with simple helpers
  • Schedule feature launches for specific environments
  • Detect undeclared flags during build

Planned enhancements include DevTools integration, remote configuration, scheduling, A/B testing, analytics, and per‑user targeting.

Repository

https://github.com/nicokempe/nuxt-feature-flags-module

npm

https://www.npmjs.com/package/nuxt-feature-flags-module

Nuxt Compatibility

Tested on Nuxt 3 and Nuxt 4

nicokempe avatar May 21 '25 17:05 nicokempe