Tim Neutkens
9c4eefcdbf
Add prettier for examples directory ( #5909 )
...
* Add prettier for examples directory
* Fix files
* Fix linting
* Add prettier script in case it has to be ran again
2018-12-17 17:34:32 +01:00
Jacob Page
777aab2b42
Remove unused flow definitions ( #5094 )
...
The `with-flow` sample has some obsolete definitions which are unused by the sample code. Removing the un-imported declarations is the easiest approach.
2018-09-05 13:38:28 +02:00
Tomek
c090a57e77
update with-flow example ( #4835 )
...
Changes:
* updated packages
* moved the content of `layout` to `_app.js` and created simple `Page` component
* replaced `import * as React` because it is not necessary to import everything
* moved `next.js.flow` to `flow-typed` as it is default directory for library definitions
* updated the gif
2018-07-25 13:42:40 +02: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
Jorge Cuadra
596bd21e33
Add eslint parser to avoid errors in IDE. ( #4297 )
2018-05-07 21:11:14 +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
Matías Hernández Arellano
c4830c3a61
upgraded flow version and updated code to use of React.Node ( #2 ) ( #3635 )
2018-01-30 21:11:37 +01:00
Tim Neutkens
24c1ac6ca9
Use canary for all example downloads ( #3411 )
2017-12-06 18:12:42 -08:00
dsantic
3a651971e1
Upgrading with-flow example to the latest flow-bin ver. 0.59.0 ( #3337 )
...
For upgrading I used flow-upgrade module by https://yarnpkg.com/en/package/flow-upgrade
2017-12-03 14:58:46 -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
Tim Neutkens
47d3cfd0fd
Upgrade React for all examples ( #3113 )
2017-10-17 08:11:46 +02:00
Craig Ramey
8d59de4d7a
example curl pointed to with-styled-components, supposed to be with-flow ( #1832 )
2017-04-30 07:31:03 -07:00
Paul Molluzzo
d08e027a8c
Add deploy now button to the top of all example READMEs ( #1763 )
...
* Add deploy now button to the top of all example READMEs
* Remove unnecessary whitespace changes
2017-04-22 14:51:51 +02:00
Tim Neutkens
7f0591896a
Use latest version of Next for all examples ( #1597 )
...
* Use latest for all examples
* Update yarn.lock
2017-04-03 09:46:35 +05:30
Tim Neutkens
228bbbef74
Use jsonPageRes instead of xhr ( #1424 )
2017-03-15 08:07:29 +05:30
Tim Neutkens
f8f90955c5
Add prefetch to propTypes + flow typings ( #1295 )
2017-02-27 10:50:28 +05:30
Sébastien Dubois
6ede206d82
update link prefetch syntax in examples ( #1276 )
2017-02-25 15:54:42 +01:00
Naoyuki Kanezawa
9348762f4a
add next/error ( #1040 )
2017-02-08 16:59:33 -03:00
Lukas Strassel
4a73ccbb00
add react and react dom as peer ( #1024 )
...
- tackles #997
- add ./idea to gitignore for webstorm users
- update all the examples
2017-02-08 10:11:38 +05:30
Koutaro Chikuba
267b74b256
Add next.js flowtype definition to with-flow example ( #973 )
...
* Add next.js flowtype definition to with-flow
* Add render api types for flow
* Add prefetch types
* Fix push/replace api types to promise
2017-02-05 19:39:51 +09:00
jagreehal
cbb2d1c250
simpler flow task ( #857 )
2017-01-23 22:19:14 -08:00
jagreehal
1e77568657
added example with flow ( #814 )
...
* added example with flow
* Fixed linting errors
2017-01-19 01:48:55 -08:00