This app is a companion sample app for the article: How To Use Feature Flags in Vue.js.
If the "calculateuseragefeature" flag is enabled in the ConfigCat dashboard, the 'Calculate Your Age' feature becomes available. In this case, an input field appears, allowing users to calculate their age based on their birth year. However, if the feature flag is disabled, a message informs the user that the feature has been turned off by the admin.
- Install the npm dependencies:
npm install
- Run the app locally in development mode:
npm run dev
- Vue.js Documentation.
- ConfigCat Vue Community SDK
- ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here
Explore more code samples for other languages, frameworks, and topics here.
Keep up with ConfigCat on X, Facebook, LinkedIn, and GitHub.
Contributions are always welcome!