Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 6613be5

Browse files
committed
fix(rendering-modes): Remove instructions for file operations from tutorial
1 parent 24782f9 commit 6613be5

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<template>
2+
<h1>Rendering Modes</h1>
3+
<p>Foo</p>
4+
<p>
5+
<NuxtLink to="/">
6+
Index
7+
</NuxtLink>
8+
</p>
9+
</template>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<template>
2+
<h1>Rendering Modes</h1>
3+
<p>Index</p>
4+
<p>
5+
<NuxtLink to="/foo">
6+
Foo
7+
</NuxtLink>
8+
</p>
9+
</template>

content/2.concepts/8.rendering-modes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default defineNuxtConfig({
114114
そのためには:
115115

116116
1. `app.vue``NuxtPage` コンポーネントを使って、ページをレンダリングします。
117-
2. `/pages/index.vue``/pages/foo.vue` を作成し`script setup` 内コンソールの出力を行います。(内容は任意のもので構いません)
117+
2. `/pages/index.vue``/pages/foo.vue` `script setup` 内コンソールの出力を行います。(内容は任意のもので構いません)
118118
3. `nuxt.config``routeRules` を設定し、`/``/foo` に対して異なるキャッシュ ルールとレンダリングモードを設定します。\
119119
今回は、`/foo``ssr: false` を設定してみましょう。
120120
4. `/` にアクセスし、コンソールの出力がサーバーとクライアントの両方で行われていることを確認します。

0 commit comments

Comments
 (0)