UNPKG

react-material-dashboard

Version:
18 lines (16 loc) 580 B
# About this folder This folder holds configuration files for different environments. You can use it to provide your app with different settings based on the current environment, e.g. to configure different API base urls depending on whether your setup runs in dev mode or is built for distribution. You can include the configuration into your code like this: ```javascript let react = require('react/addons'); let config = require('config'); class MyComponent extends React.Component { constructor(props) { super(props); let currentAppEnv = config.appEnv; } } ```