1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

99 commits

Author SHA1 Message Date
Tim Neutkens 2c85b367ce Add notice about getInitialProps (#1140)
* Add notice about getInitialProps

* Remove extra whitespace
2017-02-15 08:28:13 +05:30
Tim Neutkens b0d1e7e3d1 Install peerDependencies in readme (#1116) 2017-02-14 07:22:31 +05:30
Sébastien Dubois 75a993f781 Ensure NODE_ENV is production when deploying on Now (#1106)
* Ensure NODE_ENV is production when deploying on Now

* Fix custom server example instead of default one

* Fix typo
2017-02-13 16:09:11 +01:00
Tim Neutkens 4fd2ca2598 Improve quiet documentation (#1085) 2017-02-13 01:26:51 +09:00
I am not shine 97714e8b2a wrong position of babel config example (#1057) 2017-02-09 18:57:17 +01:00
Tim Neutkens e46cedda57 Update table of contents (#1051) 2017-02-09 12:52:14 +01:00
Loren Sands-Ramshaw d6439d172b Add table of contents to README (#735)
* Fix example README formatting

* Add table of contents to README
2017-02-09 12:47:20 +01:00
Tim Neutkens 8c1808d7d7 Add contributing.md (#1009)
* Add contributing.md

* Only reload example app on server changes
2017-02-06 18:49:34 +05:30
Tim Neutkens 59281adef3 Allow parsed url to be passed down (#950)
* Allow parsed url to be passed down

* Update example to reflect url passing

* Check if passed url.query is empty

* Rename url to parsedUrl
2017-02-02 12:21:08 +05:30
Tim Neutkens 579098663c Set dev variable consistent with examples (#939) 2017-01-31 19:48:10 +05:30
Stephen Mathieson ac2a963c9c README: fix "Routing with lazy component loading" blob (#915)
Looks like `<Link>` was replaced with `\n` on accident
2017-01-29 06:29:29 +05:30
Jarmo Isotalo 0b131cad2a Add next build and next start to the first How to use sample (#894) 2017-01-26 22:30:55 +05:30
Robin Frischmann a418b35e98 Added Fela Example to the CSS-in-JS <details> in README (#878) 2017-01-25 04:13:34 -08:00
Dan Zajdband 3ad3a6c1e7 Added Google AMP example (#793)
* Added Google AMP example

* Added styles and a second page

* Using regular anchor since there is no client-side routing

* Added comment on react config for amp
2017-01-24 05:20:56 -08:00
Adam Soffer 4b257483e2 Add Apollo example (#780)
* Add minimal apollo example

* Update apollo example README

* Update apollo example demo link in README

* Fix button styles

* Fix show more button

* Alias demo url

* Include the data field on the Apollo store when hydrating

* Revert

* Include the data field on the Apollo store when hydrating per tpreusse's suggestion.

* Add example to faq section in README

* Sort by newest; Add active state to buttons

* Make optimization suggestions

* Use process.browser; inline props
2017-01-22 13:27:06 +01:00
Kristo Jorgenson e67d62d888 Update styled-component docs (#841)
* Add details to custom Document documentation

Custom document must be created at ./Pages/_document.js, which is not
noted in the README… so I updated it.

* Add note to styled-components example about existing issue

* Made phrasing a bit more clear

* Another phrasing update.

* from P to p
2017-01-21 22:24:17 +01:00
Ryuichi Okumura 5be9c04007 Custom server example with Hapi in README (#825) 2017-01-19 14:22:21 +01:00
Dan Zajdband 2c2d961844 Added Koa example (#800)
* Added Koa example

* Linted koa example
2017-01-17 08:23:06 +01:00
张俊锋 606d89c9f5 Update README.md (#802)
fix quotation mark
2017-01-16 20:26:23 -08:00
Dan Zajdband e28f80cd99 Updated <Link> in repo, always wrapping an anchor. (#798) 2017-01-16 22:27:55 +01:00
Mike Bannister 789edb87b7 Fix typo in README (#787) 2017-01-16 02:41:46 -08:00
Guillermo Rauch 4fcc551fb4 adding @timneutkens 2017-01-10 12:55:48 -08:00
Alex Moldovan 07f717061f Added layout component example (#560)
* added layout component example

* coding style fixes

* trailing spaces removed

* updated README file

* added layout example in docs

* moved .babelrc so that it handles all projects from the examples folder
2017-01-05 13:03:36 -08:00
Ovidiu Cherecheș 741500c603 Warn about webpack loaders (#638) 2017-01-03 10:06:55 -08:00
Arana Jhonny 1d700d0240 Aphrodite example. (#634)
* add aphrodite example

* fix props

* Update README.md
2017-01-03 10:06:04 -08:00
Arana Jhonny 856978918e Add cxs example. (#613)
* add cxs example

* fix example location
2017-01-01 22:35:14 -08:00
Guillermo Rauch 5ab71d16b1 Update README.md 2016-12-30 17:37:06 -08:00
Arunoda Susiripala c890dc3573 Implement Router Events (#511)
* Move route loading logic to a common place.

* Add router events.

* Add EventEmitter's core API methods.

* Add example app for loading events and docs.

* Fix some typos.

* Get rid of Router.ready()

* Remove events package.
It's already shipping with webpack.

* Handling aborting properly.

* Expose simple attribute based events listener API.
Removed the proposed event listener API from the public API.

* Remove error logged when there's an abort error.
There are many other ways to capture this error.
So, it doesn't look nice to print this always.

* Change router events to pass only the current URL as arguments.

* Add a section about Cancelled Routes to README.
2016-12-30 17:15:22 -08:00
Tim Neutkens 030a1ed6a9 Clean up docs about next/babel (#557)
* Clean up docs about next/babel

* Add suggestions from #553
2016-12-29 10:58:28 -03:00
Guillermo Rauch d022cd9f24 Update README.md 2016-12-26 15:14:27 -08:00
Arunoda Susiripala ac2a71876d Add support for using .babelrc in the app root. (#493)
* Add support for using .babelrc in the app root.

* Update the README about the .babelrc usage.

* Fix a typo.

* Remove additional example usage.
2016-12-26 10:13:45 -08:00
Guillermo Rauch e81852c742 Update README.md 2016-12-24 09:57:15 -08:00
James O'Dwyer 200f8eecb2 Add warning about module.exports use (#505)
* add warning about module.exports to readme

* rm unnecessary react imports
2016-12-24 09:53:08 +05:30
Dan Zajdband d3cf72cd4f Update README.md (#499) 2016-12-24 10:36:34 +09:00
Arunoda Susiripala fb3612a941 Add SSR caching example to the README. (#503) 2016-12-24 10:30:06 +09:00
Dan Zajdband 01e1883f79 Added glamor example and pointing warning to css migration guide (#500) 2016-12-23 11:18:25 -08:00
Naoyuki Kanezawa 01da6f4761 Add styletron example (#486)
* add styletron example

* example: fix link

* example: improve README

* Added styletron example reference to readme and merge with master
2016-12-23 08:01:24 -05:00
Dan Zajdband f6ece560e4 Add/data fetch example (#485)
* Added data fetch example

* Finished updating examples install instructions and added data-fetch example to main readme
2016-12-23 08:05:49 +09:00
Guillermo Rauch 27dedc9d6e Update README.md 2016-12-22 13:08:58 -08:00
Dan Zajdband 2b791a6653 Added missing readme and references in main readme. (#483)
* Added missing readme and references in main readme.

* Fixed wrong links

* Updated examples format
2016-12-22 13:04:32 -08:00
Guillermo Rauch bb4226adcd Update README.md 2016-12-21 21:30:06 -08:00
Guillermo Rauch 41322d7d11 Update README.md 2016-12-21 21:29:12 -08:00
Rahul 4a13160f4c Fix typo (#471) 2016-12-21 19:52:43 -08:00
Arunoda Susiripala 1719738ed1 Allow to customize our babel configuration (#466)
* Add a way to customize babel configurations.

* Add babel configuration docs to README.
2016-12-21 17:36:00 -08:00
Guillermo Rauch 47956d1fbf Update README.md 2016-12-20 19:03:38 -08:00
Dan Zajdband bacb42ead4 Updated README with new features and code fixes (#444)
* Updated README with new features and code fixes

* Removed staticMarkup option from docs.

* Fixed quiet parameter info.
2016-12-20 14:57:11 -08:00
Guillermo Rauch b5c4023148 Update README.md 2016-12-20 11:27:29 -08:00
Guillermo Rauch 2a1cda283b Update README.md 2016-12-20 11:26:59 -08:00
Guillermo Rauch 905d671719 Update README.md 2016-12-20 11:19:03 -08:00
Guillermo Rauch 660147f661 Update README.md 2016-12-19 14:41:21 -08:00