@westyx-nexus/openfeature-provider-vue package bridges the Nexus Vue SDK into the OpenFeature Web SDK. It wraps an existing NexusClient and emits ConfigurationChanged on every cache update so OpenFeature clients re-evaluate flags automatically.
Installation
Quick start
provideNexus returns the initialised NexusClient; pass it directly to createOpenFeatureProvider.
Evaluation mapping
All evaluations use the
STATIC resolution reason. The provider does not perform per-user targeting - use client.evaluateAB() directly for that.
Live updates
The provider subscribes to the Nexus client oninitialize(). Each time the client’s cache refreshes - via SSE push or TTL poll - the provider emits ProviderEvents.ConfigurationChanged. OpenFeature’s Vue bindings pick this up and trigger reactive updates in components that consume the changed flags.
API reference
NexusVueProvider
createOpenFeatureProvider
new NexusVueProvider(client).
