HaNdTriX
d3f1fa630e
Rewrite with-dotenv example ( #4924 )
...
## Issue
I decided to rewrite the [with-dotenv](https://github.com/zeit/next.js/tree/canary/examples/with-dotenv ) using [dotenv-webpack](https://github.com/mrsteele/dotenv-webpack ) example because:
- changes doesn't get applied (#4748 , brysgo/babel-plugin-inline-dotenv#13 )
- the production mode doesn't work at all
- this approach has already been used in the [examples/relay-modern](9320d9f006/examples/with-relay-modern/next.config.js
)
- it is [documented](https://webpack.js.org/plugins/environment-plugin/#dotenvplugin ) by webpack
## Alternatives
* remove/deprecate example
* fix babel-plugin-inline-dotenv
## Related
Closes : #4748
2018-08-08 09:01:00 -07:00
Michael Herold
5b3578e58f
#4751 - Explicitly mention install when cloning examples ( #4758 )
...
Preferably this installation wouldn't be necessary, but in lieu of a fix...
#4751
2018-07-11 23:56:15 +02:00
James Hegedus
f2e56609cd
Examples: stabalise README format and create-next-app usage ( #4009 )
...
* Examples: clarify language around Yarn create & npx
* add missing READMEs and create-next-app usage
* suggest people tag jthegedus in firebase related issues
* add yarn alt instructions
* cerebraljs example readme & fixes
2018-04-03 14:19:05 +02:00
James Hegedus
b1d8b839dd
Examples: use npx and yarn create to run create-next-app on examples ( #4002 )
...
* remove global npm install of create-next-app
* add npx to create-next-app command in examples
* add bash to shell snippets
* add yarn create to next-app command in examples
* fix READMEs named with lowercase
* change READMEs to use UPPERCASE
2018-03-14 09:09:46 +01:00
Tim Neutkens
24c1ac6ca9
Use canary for all example downloads ( #3411 )
2017-12-06 18:12:42 -08:00
Fouad Matin
2528779394
examples: add create-next-app ( #3377 )
...
* examples: add create-next-app
* fix with-typescript readme
2017-12-02 20:30:17 -08:00
José Netto
362fcf917a
Update with-dotenv example README.md to add troubleshooting information ( #2995 )
2017-09-26 23:06:29 +02:00
Penn Su
c9bc471d3a
with-dotenv example ( #2399 )
2017-06-29 08:32:45 +02:00