How to Include Environment Variables in Your React App

added by JavaScript Kicks
10/23/2019 8:26:30 AM

492 Views

If you use Create React App to develop your app, using environment variables in your app is easy. You simply create an .env file in the root of the project folder and the keys of your environment variables should start with REACT_APP_ .


0 comments