Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
c601c941
Unverified
Commit
c601c941
authored
Apr 24, 2020
by
Shania
Committed by
GitHub
Apr 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a link to the next.config.js docs for the with-env-next-… (#12153)
parent
0c6ee2c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
examples/with-env-from-next-config-js/README.md
+2
-0
No files found.
examples/with-env-from-next-config-js/README.md
View file @
c601c941
...
@@ -10,6 +10,8 @@ As the build process (`next build`) is proceeding, `next.config.js` is processed
...
@@ -10,6 +10,8 @@ As the build process (`next build`) is proceeding, `next.config.js` is processed
in your react app, whatever is returned by
`next.config.js`
as the variable
`env`
, (or
`env.RESTURL_SPEAKERS`
) will be accessible in your
in your react app, whatever is returned by
`next.config.js`
as the variable
`env`
, (or
`env.RESTURL_SPEAKERS`
) will be accessible in your
app as
`process.env.RESTURL_SPEAKERS`
.
app as
`process.env.RESTURL_SPEAKERS`
.
View the docs on
[
`next.config.js`
](
https://nextjs.org/docs/api-reference/next.config.js/introduction
)
for more information.
## Deploy your own
## Deploy your own
Deploy the example using
[
Vercel
](
https://vercel.com
)
:
Deploy the example using
[
Vercel
](
https://vercel.com
)
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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