Skip to content

Commit d227617

Browse files
ldthornearunoda
authored andcommitted
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
1 parent eba9ebe commit d227617

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,6 @@ So, you could only use `pathname`, `query` and `asPath` fields of the `context`
10161016

10171017
> Basically, you won't be able to render HTML content dynamically as we pre-build HTML files. If you need that, you need run your app with `next start`.
10181018
1019-
10201019
## Recipes
10211020

10221021
- [Setting up 301 redirects](https://www.raygesualdo.com/posts/301-redirects-with-nextjs/)
@@ -1130,6 +1129,12 @@ Yes! Here's an example with [Apollo](./examples/with-apollo).
11301129
Yes! Here's an [example](./examples/with-redux)
11311130
</details>
11321131

1132+
<details>
1133+
<summary>Why aren't routes I have for my static export accessible in the development server?</summary>
1134+
1135+
This is a known issue with the architecture of Next.js. Until a solution is built into the framework, take a look at [this example solution](https://github.com/zeit/next.js/wiki/Centralizing-Routing) to centralize your routing.
1136+
</details>
1137+
11331138
<details>
11341139
<summary>Can I use Next with my favorite Javascript library or toolkit?</summary>
11351140

0 commit comments

Comments
 (0)