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
c0581a40
Commit
c0581a40
authored
Nov 15, 2017
by
Nghiệp
Committed by
Tim Neutkens
Nov 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md for with-shallow-routing example (#3285)
parent
fbd4f032
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
examples/with-shallow-routing/README.md
+3
-3
No files found.
examples/with-shallow-routing/README.md
View file @
c0581a40
...
...
@@ -7,8 +7,8 @@
Download the example
[
or clone the repo
](
https://github.com/zeit/next.js
)
:
```
bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master |
tar
-xz
--strip
=
2 next.js-master/examples/
hello-world
cd
hello-world
curl https://codeload.github.com/zeit/next.js/tar.gz/master |
tar
-xz
--strip
=
2 next.js-master/examples/
with-shallow-routing
cd
with-shallow-routing
```
Install it and run:
...
...
@@ -28,4 +28,4 @@ now
With shallow routing, we could change the URL without actually running the
`getInitialProps`
every time you change the URL.
We do this passing the
`shallow: true`
option to
`Router.push`
or
`Router.replace`
.
\ No newline at end of file
We do this passing the
`shallow: true`
option to
`Router.push`
or
`Router.replace`
.
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