Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

environment variables not showing in process.env in create react app in js

# With create react app, you need to prefix REACT_APP_ to the variable name. ex:
REACT_APP_SOME_API_KEY=some_api_key
REACT_APP_SOME_ENV_VAR=some_env_value
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #environment #variables #showing #create #react #app #js
ADD COMMENT
Topic
Name
4+5 =