Skip to content

An example app built using Vue3 and the OpenFeature Web SDK

Notifications You must be signed in to change notification settings

DevCycleHQ-Sandbox/example-openfeature-vue3

Repository files navigation

OpenFeature Web SDK Example App with Vue.js

An example app built using Vue.js and the OpenFeature Web SDK

Creating a Demo Feature

This example app requires that your project has a feature with the expected variables, as well as some simple targeting rules.

Click here to automatically create the feature in your project ⇦

When you run the example app and switch your identity between users, you'll be able to see the feature's different variations.

Running the Example

Setup

  • Run npm install in the project directory to install dependencies
  • Create a .env file and set VITE_DEVCYCLE_CLIENT_SDK_KEY to the SDK Key for your environment.
    You can find this under Settings > Environments on the DevCycle dashboard. Learn more about environments.

Development

npm run start

Compile and Hot-Reload for Development

Building

npm run build

Compile and Minify for Production

Testing

npm run test

Run Unit Tests with Vitest

Documentation

For more information about using the DevCycle JS SDK, see the documentation

About

An example app built using Vue3 and the OpenFeature Web SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published