1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-universal-configuration-build-time/pages/index.js
Fredrik Höglund 2ab1ae7f61 Updated examples for build-time env configuration for v8 (#6237)
* Updated examples for build-time env configuration for v8

* Add comment to build time config example with how to include entire .env
2019-02-11 14:15:06 +01:00

7 lines
210 B
JavaScript

export default () => (
<div>
<p>Environment variable process.env.TEST is "{process.env.TEST}"</p>
<p>Custom environment variables process.env.BACKEND_URL is "{process.env.BACKEND_URL}"</p>
</div>
)