You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/v3/fetch/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,13 +51,13 @@ export default {
51
51
</script>
52
52
```
53
53
54
-
If you go directly to [http://localhost:3000/](http://localhost:3000/), you will see directly the full list of posts which has been server-rendered.
54
+
If you go directly to [http://localhost:3000/](http://localhost:3000/), you will see directly the full list of posts which has been **server-rendered** (great for SEO).
55
55
56
56
<imgwidth="669"alt="Screenshot 2019-03-11 at 23 04 57"src="https://user-images.githubusercontent.com/904724/54161334-1f9e8400-4452-11e9-97bf-996a6e69d9db.png">
57
57
58
58
59
59
> **INFO** 💡<br>
60
-
> Nuxt will smartly detect what data you mutated inside `fetch` and optimised the JSON included in the returned HTML.
60
+
> Nuxt will smartly detect what data you mutated inside `fetch` and optimises the JSON included in the returned HTML.
61
61
62
62
Now, let's add `pages/posts/_id.vue` page to display a post on `/posts/:id`.
63
63
@@ -86,7 +86,7 @@ export default {
86
86
</script>
87
87
```
88
88
89
-
When navigating, you should now see "Loading post #..." on client-side, and no loading when refreshing a post.
89
+
When navigating, you should now see `"Loading post #..."` on client-side, and no loading when refreshing a post (hard refresh on the browser).
0 commit comments