Simple app demonstrating how to use AppFlags in a JavaScript web application.
For more information, see the docs: https://docs.appflags.io/sdks/javascript
-
Clone this repository
git clone https://github.com/AppFlags/example-javascript.git
-
Modify index.html with your client key
- Replace
YOUR_CLIENT_KEY_HERE
with your client key
- Replace
-
Create a feature flag in your account with the key
test
-
Open index.html in your browser
-
Enable and disable the test feature and see the page change in real time.