Feature Flags in Vue.js
Install the toggly package
Import the Toggly service inside your main.js file.
Declare $toggly
as a global property & initialize it by running the $toggly.init
method and by providing your App Key from your Toggly application page
Using the Feature Component
Now you can start using the Feature component.
Directly Checking a Flag
You can also programmatically check a flag for being ON or OFF, by simply injecting it in any component.
Last updated