Skip to content

A sample application highlighting how to use ConfigCat's Feature Flags Management system with Vue.js

Notifications You must be signed in to change notification settings

configcat-labs/feature-flags-in-vueJS-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How To Use Feature Flags in Vue.JS

Application's Functionality:

On load of the app, you are provided a button that asks if you want to calculate your age. When clicked, it sends a status request to ConfigCat for that feature. If the calculateUserAgeFeature flag is toggled on the configCat dashboard, the feature is enabled for use and an input field appears for a user to calculate their age based on birth year. But if the feature flag is toggled off, a message is displayed telling the user that the feature is currently disabled by the admin.

This app is a companion application for the How To Use Feature Flags in Vue.JS blogpost.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Learn More

See Configuration Reference.

ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here

You can also explore other code samples for various languages, frameworks, and topics here in the ConfigCat labs on GitHub.

Keep up with ConfigCat on Twitter, Facebook, LinkedIn, and GitHub.

Author

David Herbert

Contributions

Contributions are welcome!

About

A sample application highlighting how to use ConfigCat's Feature Flags Management system with Vue.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 72.1%
  • HTML 20.8%
  • JavaScript 7.1%