Currently, the project is using Angular 11.2.5.
This project was generated with Angular CLI version 9.0.1 and then updated to the version 11.2.4
The goal of this project is to show one way to set up the Split SDK in Angular.
Optional: If nvm
is locally installed, run nvm i
to set the required Node version.
npm install
npm install -g @angular/cli
ng serve
will start a dev server. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files.
Note: To effectively test the SDK, you need to set the corresponding Browser Api key. The API key is available on your Organization Settings page, on the APIs tab. Remember to choose
browser
type. In addition to that, you may want to create some Split/s in the admin and then update the list of features defined in the code example.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
If you need help with Split usage, please reach out to support@split.io.