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

61 commits

Author SHA1 Message Date
nkzawa de7801df2d example: fix npm script (fix #526) 2016-12-27 23:39:00 +09:00
Arunoda Susiripala d580b8f0c9 Use ^2.0.0-beta as the version for with-prefetching example. (#530) 2016-12-26 12:37:03 -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
nkzawa 1888a251a8 fix npm script on examples 2016-12-26 12:59:09 +09:00
Ian Mitchell 355dbf8fdd Fix SSR Cache Example (#510) 2016-12-25 00:38:35 +05:30
Dan Zajdband 01e1883f79 Added glamor example and pointing warning to css migration guide (#500) 2016-12-23 11:18:25 -08:00
Arunoda Susiripala b9bee24787 Add an example with SSR caching. (#497)
* Add an example with SSR caching.

* Update server.js

* Update README.md

* Use app.renderError to display errors in SSR example.
2016-12-23 09:13:52 -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
nkzawa 414a22d38e examples: fix README titles 2016-12-23 07:57:57 +09:00
nkzawa cf727eb1e1 typo 2016-12-23 06:43:18 +09: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
Arunoda Susiripala 362626d0d4 Update the next to the least supported version. (#478) 2016-12-22 20:41:50 +09:00
nkzawa cae706d7b7 examples: use HTTPS URL 2016-12-22 18:14:12 +09:00
nkzawa aa630279e6 examples: simplify download instruction 2016-12-22 18:07:54 +09:00
nkzawa b8291abeac improve the styled-component example 2016-12-22 17:16:33 +09:00
Dan Zajdband c5d69f0585 Add/move examples (#470)
* Added redux and styled components (wip) examples.

* Updated examples readmes and package.json

* Fixed styled-components example
2016-12-21 21:10:54 -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
Arunoda Susiripala f1c6ea3248 Fix Jest example app (#458)
* Add a working JEST example app.

* Add README.md

* Move react-test-renderer to devDeps.

* Add a newline to the .babelrc
2016-12-21 23:06:24 +09: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 b337433d14 Update index.js 2016-12-20 13:03:44 -08:00
Guillermo Rauch 1af5bc98bb Update README.md 2016-12-20 12:45:27 -08:00
Guillermo Rauch 9056116c5b Update Header.js 2016-12-20 12:44:23 -08:00
Guillermo Rauch 376661254d Update index.js 2016-12-20 12:41:40 -08:00
Guillermo Rauch a27f6b0af6 Update features.js 2016-12-20 12:41:26 -08:00
Guillermo Rauch 8129eea237 Update contact.js 2016-12-20 12:41:15 -08:00
Guillermo Rauch 36255e5c5d Update about.js 2016-12-20 12:41:01 -08:00
Guillermo Rauch 2c2d7ad6d5 Update index.js 2016-12-20 12:40:26 -08:00
Guillermo Rauch 100c12b5fe Update about.js 2016-12-20 12:39:34 -08:00
Guillermo Rauch 41c73a3aa7 Update Header.js 2016-12-20 12:39:15 -08:00
Guillermo Rauch cded884581 Update post.js 2016-12-20 12:38:10 -08:00
Guillermo Rauch 587c976ef0 Update paragraph.js 2016-12-20 12:37:58 -08:00
Guillermo Rauch b2c5d40b5f Update about.js 2016-12-20 12:37:38 -08:00
Guillermo Rauch e4d59c087d Update README.md 2016-12-20 12:37:24 -08:00
Guillermo Rauch 35869daee5 Update Header.js 2016-12-20 12:36:30 -08:00
Guillermo Rauch c4c63ab401 Update index.js 2016-12-20 12:36:03 -08:00
Guillermo Rauch 16cab95a57 Update index.js 2016-12-20 12:35:48 -08:00
Guillermo Rauch f51696be08 Update blog.js 2016-12-20 12:35:34 -08:00
Guillermo Rauch ff62d6f631 Update index.js 2016-12-20 12:35:11 -08:00
Guillermo Rauch 0754ac0790 Update about.js 2016-12-20 12:34:56 -08:00
Guillermo Rauch dcf1187f58 Update index.js 2016-12-20 12:34:42 -08:00
Guillermo Rauch 7482ac6398 Update index.js 2016-12-20 12:34:27 -08:00
Guillermo Rauch f4ccfd9e04 Update b.js 2016-12-20 12:34:15 -08:00
Guillermo Rauch 1b694bd8a8 Update a.js 2016-12-20 12:34:04 -08:00
Guillermo Rauch 280655da62 Update index.js 2016-12-20 12:33:47 -08:00
Arunoda Susiripala 141c045c68 Make next/router a client only API. (#443)
* Prevent using 'next/router' APIs inside 'getInitialProps'

* Remove incorrect documentation.

* Make next/router a client only API.
2016-12-20 09:27:43 -08:00
Naoyuki Kanezawa a87ef1a7af Incorporate styled-jsx (#420)
* integrate styled-jsx

* define styles of pages with styled-jsx

* bump styled-jsx

* bump styled-jsx

* error-debug: fix style

* bump styled-jsx

* fix examples to use styled-jsx

* bump styled-jsx
2016-12-19 10:42:19 -08:00
Arunoda Susiripala 22776c2eee Implement the Singleton Router API (#429)
* Immplement the initial singleton Router.

* Use the new SingletonRouter for HMR error handling.

* Use SingletonRouter inside the Link.

* Create an example app using the Router.

* Make the url parameter optional in Router.push and Router.replace

* Add a section about next/router in the README.
2016-12-19 06:40:26 -08:00
Arunoda Susiripala b62a0e8f55 Bundle all the modules inside the app (#414)
* Remove the use of CDN and bundle everything inside the app.
We still pre-build the prefetcher because it needs
different webpack config which only targets browsers
supports Service Workers.

* Remove cdn config item.
We no longer using it.

* Stop adding script tags when staticMarkup=true

* Remove babel-plugin-transform-remove-strict-mode NPM module.
2016-12-17 17:49:10 +09:00
Naoyuki Kanezawa 1708222381 Programmatic API (#310)
* add 'next' api

* add render APIs

* add 'as' prop to Link

* check Accept header to serve json response

* check if response was finished on getInitialProps call

* move server/app to server/index

* load webpack-hot-middleware-client by absolute path

* server: options for testing

* add tests

* example: improve

* server: make dir optional

* fix client routing

* add parameterized routing example

* link: fix display url

* Add custom-server-express example (#352)

* Add custom-server-express example

* Remove extraneous nexts in express routes defs

* Update next config in server.js

* Handle accept headers totally inside Next.js (#385)

* Handle accept headers totally inside Next.js
Now user doesn't need to handle it anymore.

* Move json pages serving to /_next/pages base path.

* Join paths correctly.

* remove next/render
2016-12-16 12:33:08 -08:00