Variable
| Static Public Summary | ||
| public |
baseConfig: object: * Gives the base configuration. |
|
| public |
Exports the default |
|
| public |
configMeta: object: * Exports the |
|
| public |
metaConfig: object: * Gives the meta configuration. |
|
| public |
Universal Configuration Manager |
|
Static Public
public baseConfig: object: * source
import {baseConfig} from 'roc-web-react/lib/helpers/config.js'Gives the base configuration.
public config: object: * source
import config from 'roc-web-react/lib/config/roc.config.js'Exports the default roc.config.js.
public configMeta: object: * source
import configMeta from 'roc-web-react/lib/config/roc.config.meta.js'Exports the roc.config.meta.js.
public metaConfig: object: * source
import {metaConfig} from 'roc-web-react/lib/helpers/config.js'Gives the meta configuration.
public universalConfig: * source
import universalConfig from 'roc-web-react/src/app/shared/universal-config.js'Universal Configuration Manager
Manages both application configuration and Roc configuration.
On the server the configurations will be fetched directly and on the client it's expected that the configuration
is available on window as ROC_CONFIG and APP_CONFIG.
appConfig will only contain what has been selected by runtime.configWhitelistProperty. That means if you want
to read the full configuration on the server you will need to read it directly from node-config.