“.env.local não funcionando reagir” Respostas de código

.env.local não funcionando reagir

## 2-STEPS
# 1.
# install 'dotenv' npm with
npm install dotenv --save

# 2.
# Then make sure you kill the 
# development server and start 
# it afresh after you edit a 
# '.env' file. Use 'npm start' 
# to retart it
npm start

# Worked for me!
Code Rabbi

.env não trabalhar no React

//install dotenv via npm
//npm install dotenv --save

//At the top of your file add
require('dotenv').config();
Helpless Hippopotamus

.env não trabalhar no React



REACT_APP_API_URL=http://localhost:3000/api
REACT_APP_CALLBACK_URL=http://localhost:3005/callback


Graceful Gibbon

Respostas semelhantes a “.env.local não funcionando reagir”

Perguntas semelhantes a “.env.local não funcionando reagir”

Mais respostas relacionadas para “.env.local não funcionando reagir” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código