Configure Routing

Enable or disable routing between web components in the demo app.

Disable routing

Routing between components is enabled by default. To disable it for
isolated testing:

  1. Open /library/src/shared/constants/test.constants.ts.
  2. In the ComponentConfig, set routing to false:
static CONFIG: ComponentConfig = {
    refreshInterval: 5000,
    locale: 'en-US',
    theme: 'LIGHT',
    routing: false,
    customer: TestConstants.CUSTOMER_GUID,
    fiat: 'USD'
  };