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

95 commits

Author SHA1 Message Date
Remy Sharp 8578038daa Change _error.js example to use err prop (#3197)
The `jsonPageRes` isn't always there, whereas `err` is, and when used,
provides a consistent statusCode in the client when compared to the
server.
2017-10-29 00:58:17 +02:00
m-allanson b937ed3644 Remove extra word (#3193) 2017-10-29 00:58:17 +02:00
Hans Trautlein 4d2ea0ce80 "download" to "downloads" when subject is singular (#3140) 2017-10-21 16:59:16 +02:00
yashha f5aac04b79 Proposal: Add shields io npm version badge (#3099) 2017-10-15 17:20:34 +02:00
Sitian Liu 11fe73e9ba make clear that server.js doesn't go through Webpack or Babel (#3090) 2017-10-14 19:08:30 +02:00
Matheus Fernandes 6fa0e0dd02 Make the readme.md look a little bit nicer (#3063) 2017-10-09 16:43:36 -07:00
Arunoda Susiripala 8ab50ecb57 Update README for Next 4. 2017-10-10 00:29:40 +05:30
Jesse Ditson a79357f2a4 Allow use of filenames in exportPathMap (#2973)
* allow use of filenames in exportPathMap

* add link test and handling for file paths when flattening links for export

* add note about exporting file paths to readme.md
2017-10-05 20:33:10 +02:00
AugustinLF 285b27b399 Add doc to onDemandEntries configuration (#3030) 2017-10-05 08:28:15 +02:00
Tim Neutkens 418cc210fa Add beta installation instruction 2017-09-27 23:15:46 +02:00
Marc MacLeod ddd30787ef expose buildId to custom webpack configs (#3001)
* expose buildId to custom webpack configs

* update readme to include buildId in option object
2017-09-27 08:03:29 +02:00
Brikou CARRE c0d031d90e Fix coding style of snippets (#2806) 2017-09-08 23:22:59 +02:00
Arunoda Susiripala 56662b4d84 Add/with router (#2870)
* Add withRoute HOC

Rebased (squashed)
- removed routerToProps
- updated hoist-non-react-statics
- improved propTypes

* Expose the whole Router instead of the route.

* Make the example simple.

* Update examples and the readme.

* Add a test case.
2017-08-30 19:37:12 +05:30
Leon Daniel Thorne d2276179be Describe solution to centralized routing (#2844)
* Add section for Centralized Routing

* Update title of section

* Update formatting

* Remove solution from README and link to it from FAQ
2017-08-28 12:21:08 +05:30
Tim Neutkens 62b246d902 Document SCSS/Less (#2742)
* Document SCSS/Less

* Add missing word

* Add docs for examples dir

* Add extra example

* uppercase J
2017-08-09 21:44:37 +02:00
Arunoda Susiripala a99a167067 Remove beta information from the README. 2017-08-09 12:32:49 +05:30
Arunoda Susiripala e2fb50c301 Merge master with v3-beta. 2017-07-28 18:56:38 +05:30
Laurie Voss 23444fc74e Minor grammatical fix: "resembling of" -> "similar to" (#2669) 2017-07-28 10:40:17 +05:30
Tom Coleman 051ee314e9 Also update Router.push example with object URL (#2639)
Following on from f8950e9b4c
2017-07-25 06:53:21 +05:30
Arunoda Susiripala f8950e9b4c Fix README issue related to object-urls. 2017-07-24 20:26:22 +05:30
cyrilf 34830a05c9 Add a missing slash (#2634)
Improving `next.js`, one slash at a time
2017-07-24 20:05:47 +05:30
Ben Murden 6781a75d8b Hyperlink spelling (#2616) 2017-07-21 13:19:22 +02:00
Ben Murden d727a6f082 Fix grammar in Router section. (#2555) 2017-07-14 07:38:06 +02:00
Jure Triglav c9b4add394 Fix spelling of built-in (#2546) 2017-07-13 08:04:36 +02:00
Victor Borges 6e7ac5f0ef fix: Forces Link to expose the href to the child using passHref property. (#2503)
* Forces Link to exposes the href to the child using passHref property.

* tests for passHref prop of the Link

* passHref property Link documentation
2017-07-09 10:39:02 +05:30
Paul O’Shannessy a3495b364d Fix JSX in readme (#2512)
An unclosed tag was resulting in some broken syntax highlighting.
2017-07-09 10:24:47 +05:30
Tim Neutkens dc607e452b Add docs for next/error (#2513) 2017-07-09 10:24:27 +05:30
Sergio Xalambrí 2b9944bf52 Add with-static-export example (#2234) 2017-07-01 21:44:58 +02:00
Arunoda Susiripala 071f526b1c Update readme.md with some links and latest info. 2017-07-01 16:34:52 +05:30
Fabio Espinosa 1b5e724d31 Update readme.md (#2412)
The _error.js works only if it is in the /pages folder
2017-06-30 11:19:16 +05:30
Arunoda Susiripala 03cad7cba5 Fix some errors in README. 2017-06-29 22:27:17 +05:30
Arunoda Susiripala 5a650d74df Add a note about importing server only modules. 2017-06-29 22:21:23 +05:30
Arunoda Susiripala 655018c0e7 Merge master into v3-beta 2017-06-29 00:51:05 +05:30
Tim Neutkens 12e8b1265d Document usage of <Link> without <a> (#2369) 2017-06-27 10:32:30 +05:30
Colder Xihk 3a9c419160 fix typo in dynamic import with multiple modules (#2344) 2017-06-22 19:11:54 +02:00
Leo Lamprecht e3f0fdb9db Invalidated cache for slack badge
The other one is broken since it's been cached wrong by GitHub some time ago
2017-06-21 08:54:04 +02:00
Arunoda Susiripala 9df59c1176 Dynamic component support with multiple modules (#2235)
* Layout ground works for next/async

* Implement the Dynamic Bundle feature.

* Add some test cases.

* Update README.

* Implement props aware dynamic bundle API.

* Update tests and README.

* Add a test case for React Context support.
2017-06-16 18:49:34 +05:30
Matt Phillips 40290f85c3 Fix readme conflict (#2148) 2017-06-03 09:03:56 +02:00
Arunoda Susiripala e1a9febe28 Get latest master into v3 (#2139)
* Merge branch 'master' into v3-beta

* Add send back to v3-beta.
2017-06-02 10:35:04 +05:30
Guillermo Rauch f4345e79c2 Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-01 18:31:14 -07:00
Guillermo Rauch 850a931e88 Merge branch 'master' into v3-beta 2017-06-01 18:30:57 -07:00
Bill Hefty af7993683b Add link to example for webpack-bundle-analyzer (#1130) (#2104) 2017-06-01 14:51:54 +02:00
Felix-Antoine Paradis 442c611d49 Add next configuration as an option for custom servers (#2058)
* Add a configuration parameter to custom server startup

* Adding related documentation

* Do not access filesystem if configuration is supplied

* Make the configuration log clearer

* Make the conf default value to `null`
2017-05-31 13:36:07 +05:30
Dmitry Rybin e6f3651763 Fix broken link at readme (#2103)
Fixed broken readme link and make it short by removing unnecessary invitation.
2017-05-31 12:44:34 +05:30
Benjamin Hoffman e1d5c3df55 Updates link in Production deployment of readme (#2113)
I think I found a typo.  Hope this fix matches the author's intended meaning.
2017-05-30 20:50:20 +02:00
Giuseppe 98fb1a0df1 Point to styled-jsx npm package's readme (#2085)
As we add new features and update README.md in zeit/styled-jsx people ask questions, typically why doesn't x works.
Master shouldn't be the source of truth, better link to the npm package's landing page.
2017-05-27 19:46:58 +02:00
Ben James 0fdd379eee Add reference to wiki for deploying to GitHub (#2035) 2017-05-21 18:44:43 +02:00
Jorge Antunes 58f3403587 fix small typo (#2030)
Not much to say on this one, I tend to fix typos everywhere I see them...
2017-05-20 22:38:53 +02:00
Arunoda Susiripala ccea1b748c Point appveyor branch to v3-beta 2017-05-16 12:07:39 -07:00
Arunoda Susiripala dfd5ccfbd6 Merge branch 'master' into v3-beta 2017-05-16 12:06:12 -07:00