Luis Fernando Alvarez D
80fc0f4511
(custom-server-express) avoid a 404 when navigating to a custom route ( #3645 )
...
* next export will expand symlinks now
* Make sure next export doesn't includes _document.js in windows
* avoid a client side not found page when navigating to a custom route
2018-01-31 22:38:36 +01:00
Vinicius Camargo
fbd4f03254
Update the custom-server-express with an req.params example ( #3258 )
2017-11-13 12:22:10 +01: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
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