Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Kureev
Created October 1, 2020 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kureev/302d12929b34c22b484cd2f3c851727f to your computer and use it in GitHub Desktop.
Save Kureev/302d12929b34c22b484cd2f3c851727f to your computer and use it in GitHub Desktop.
How to initialize Flex with an `errorPage`
Flex
.provideLoginInfo(configuration, "#container")
.then(() => Flex.Manager.create(configuration))
.then(manager => { /* use manager here */ })
.catch(error => Flex.errorPage(error, "#container"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment