0.1.4 • Published 1 year ago
@bluecoaster/nuxt-unleash v0.1.4
Nuxt 3 Unleash Module
This module allows the use of Unleash feature flagging system into your Nuxt 3 app.
Features
- Uses the unleash-client SDK as the driving package for communications.
- Reactive feature flag reloading in your components
- Server-side (API) support
- Contextual features support
Quick Setup
Install the module to your Nuxt application with one command:
npx nuxi module add @bluecoaster/nuxt-unleashThen add the options into your nuxt.config.ts:
export default defineNuxtConfig({
modules: ["@bluecoaster/nuxt-unleash"],
unleash: {
url: "https://your-unleash-instance.com/unleash",
appName: "my-app-name",
instanceId: "YOUR_INSTANCE_ID_IF_REQUIRED",
},
});That's it! You can now use Unleash in your Nuxt app ✨