environment variables using react-app-rewired code example
Example: .env not working on react
//install dotenv via npm
//npm install dotenv --save
//At the top of your file add
require('dotenv').config();
//install dotenv via npm
//npm install dotenv --save
//At the top of your file add
require('dotenv').config();