Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
0e01435f
Commit
0e01435f
authored
Aug 20, 2019
by
Lukáš Huvar
Committed by
Tim Neutkens
Aug 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change FAQ for dynamic routing (#8439)
parent
df4f6002
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
README.md
packages/next/README.md
+3
-2
No files found.
packages/next/README.md
View file @
0e01435f
...
@@ -69,6 +69,7 @@
...
@@ -69,6 +69,7 @@
-
[
Custom server and routing
](
#custom-server-and-routing
)
-
[
Custom server and routing
](
#custom-server-and-routing
)
-
[
Disabling file-system routing
](
#disabling-file-system-routing
)
-
[
Disabling file-system routing
](
#disabling-file-system-routing
)
-
[
Dynamic assetPrefix
](
#dynamic-assetprefix
)
-
[
Dynamic assetPrefix
](
#dynamic-assetprefix
)
-
[
Changing x-powered-by
](
#changing-x-powered-by
)
-
[
Dynamic Import
](
#dynamic-import
)
-
[
Dynamic Import
](
#dynamic-import
)
-
[
Basic Usage (Also does SSR)
](
#basic-usage-also-does-ssr
)
-
[
Basic Usage (Also does SSR)
](
#basic-usage-also-does-ssr
)
-
[
With named exports
](
#with-named-exports
)
-
[
With named exports
](
#with-named-exports
)
...
@@ -2739,9 +2740,9 @@ As a result, we were able to introduce a very simple approach to routing that co
...
@@ -2739,9 +2740,9 @@ As a result, we were able to introduce a very simple approach to routing that co
<details>
<details>
<summary>
How do I define a custom fancy route?
</summary>
<summary>
How do I define a custom fancy route?
</summary>
We
[
added
](
#custom-server-and-routing
)
the ability to map between an arbitrary URL and any component by supplying a request handler
.
Next.js provide
[
dynamic routing
](
#dynamic-routing
)
solution out of the box. This allows to use pretty links in url
.
On the client side, we have a parameter call
`as`
on
`<Link>`
that _decorates_ the URL differently from the URL it _fetches_
.
You can check an
[
exmaple
](
https://github.com/zeit/next.js/tree/canary/examples/dynamic-routing
)
how it works
.
</details>
</details>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment