Commit graph

15 commits

Author SHA1 Message Date
Arunoda Susiripala
fcd59adea1 Add support for webpack's CommonsChunkPlugin and remove next bundle (#301)
* Add example app which demonstrate the problem.

* Add the first working version.

* Fix lint issues.

* Add README.md

* Use /_next/main.js as the main file URI

* Add the support for loading the core next bundle.

* Optimize the output by removing Next modules from pages.

* Use the same package.json as master use.

* Change the example repo's README for simpler instructions.

* Change example projects package.json to support next build and start.

* Change main.js into commons.js.

* Add support for hot core reload and errors.

* Introduce require based on eval-script.

* Add error reporting support with hot reloading.

* Update README.md
2016-11-28 09:15:56 +09:00
Naoyuki Kanezawa
c7ba914f52 Handle runtime errors (#268)
* display runtime errors by error-debug

* server: fix status

* render Error component on client error

* server: render runtime errors of error template

* server: handle errors of error template on render404

* server: add a comment

* server: refactor renderJSON

* recover from runtime errors

* _error: check if xhr exists

* _error: improve client error

* _error: improve error message
2016-11-24 23:03:16 +09:00
nkzawa
a1337320ea remove unused code 2016-11-14 13:56:29 +09:00
Dan Zajdband
e164074f8e Added glamor css (#38)
* Added glamor css

* Using pseudoclasses instead of calling functions

* Updated readme using style instead of default import for css
2016-10-21 09:39:20 -07:00
nkzawa
2e2db37ccb add error page for debug 2016-10-19 21:41:45 +09:00
nkzawa
1be8447a26 Merge branch 'master' into add/hot-reload 2016-10-17 11:10:16 +09:00
Dan Zajdband
1477734211 Added linting using standard (#27)
* Added linting using standard

* Linting on test
2016-10-16 17:00:17 -07:00
nkzawa
26e6193a97 hot-reload: initial 2016-10-15 00:05:08 +09:00
nkzawa
3e721b6878 apply css on server rendering 2016-10-09 18:50:41 +09:00
nkzawa
6718b05347 add _error.js, fix error handlings 2016-10-09 18:25:38 +09:00
nkzawa
22bf51bbe0 support getInitialProps 2016-10-08 19:16:22 +09:00
nkzawa
e2ab55ad23 fix client/router 2016-10-08 14:12:51 +09:00
nkzawa
89f96cc160 support next/head 2016-10-07 10:57:31 +09:00
nkzawa
2d8959d99c client/router: create uid instead of displayName 2016-10-06 10:20:48 +09:00
nkzawa
9b06a22f31 initial source 2016-10-06 08:52:50 +09:00