Open LeeFrancis opened 7 years ago
@LeeFrancis
we are working on a module that will allow for accessing config variables in your React code.
Usage will be like this: config/production.json
{
"ui": {
"url1": "url1.com"
}
}
@ananavati has this been merged in yet?
any news?
A little late in response, but there is an electrode-ui-config
which I'm assuming is what @ananavati was hinting at.
Probably a stupid question but are you able to reference confippet config values in React code? hoping to keep all my dev url's defined in one place.