Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
f1b6168a
Commit
f1b6168a
authored
8 years ago
by
Dan Abramov
Committed by
GitHub
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Clarify 0.3.0 is not out yet
parent
dc95aca5
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
template/README.md
+4
-2
template/README.md
with
4 additions
and
2 deletions
+4
-2
template/README.md
+
4
-
2
View file @
f1b6168a
...
@@ -392,7 +392,8 @@ We will consider integrating more tightly with Flow in the future so that you do
...
@@ -392,7 +392,8 @@ We will consider integrating more tightly with Flow in the future so that you do
## Adding Custom Environment Variables
## Adding Custom Environment Variables
> Note: this feature is available with `react-scripts@0.3.0` and higher.
**Note: this feature will be available with `react-scripts@0.3.0` and higher.**
**It is not released yet, but it will be a part of a future release.**
Your project can consume variables declared in your environment as if they were declared locally in your JS files. By
Your project can consume variables declared in your environment as if they were declared locally in your JS files. By
default you will have
`NODE_ENV`
defined for you, and any other environment variables starting with
default you will have
`NODE_ENV`
defined for you, and any other environment variables starting with
...
@@ -466,7 +467,8 @@ Check out [this tutorial](https://www.fullstackreact.com/articles/using-create-r
...
@@ -466,7 +467,8 @@ Check out [this tutorial](https://www.fullstackreact.com/articles/using-create-r
## Proxying API Requests in Development
## Proxying API Requests in Development
>Note: this feature is available with `react-scripts@0.3.0` and higher.
**Note: this feature will be available with `react-scripts@0.3.0` and higher.**
**It is not released yet, but it will be a part of a future release.**
People often serve the front-end React app from the same host and port as their backend implementation.
People often serve the front-end React app from the same host and port as their backend implementation.
For example, a production setup might look like this after the app is deployed:
For example, a production setup might look like this after the app is deployed:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets