https://github.com/splitio/example-javascript-browser
Example Applications to demo Split JS browser SDK.
https://github.com/splitio/example-javascript-browser
controlled-rollout feature-flags feature-toggles html
Last synced: 3 months ago
JSON representation
Example Applications to demo Split JS browser SDK.
- Host: GitHub
- URL: https://github.com/splitio/example-javascript-browser
- Owner: splitio
- License: other
- Created: 2017-04-13T17:15:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-12T20:03:21.000Z (over 2 years ago)
- Last Synced: 2024-12-21T14:38:27.275Z (about 1 year ago)
- Topics: controlled-rollout, feature-flags, feature-toggles, html
- Language: HTML
- Homepage: https://split.io
- Size: 640 KB
- Stars: 4
- Watchers: 19
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Example Demo Page to show Split JavaScript SDK and JavaScript Browser SDK
These are two single pages that show how to set up the [JavaScript SDK](https://github.com/splitio/javascript-client) and the [JavaScript Browser SDK](https://github.com/splitio/javascript-browser-client). Follow the instructions below to make the changes needed using the information obtained from Split user interface.
### Get started
* Log in to the Split user interface, go to the "Admin Tab", copy an SDK key of type "Client-side", and assign it to the `authorizationKey` config param in either the `index-js-sdk.html` file or `index-js-browser-sdk.html` file, in order to try the JavaScript SDK or JavaScript Browser SDK respectively.
* [Create a feature flag](https://help.split.io/hc/en-us/articles/9805284145549-Creating-a-rollout-plan) and assign its name to the variable `featureFlagName` in the HTML file.
* Open the HTML file in your browser.