Skip to content

Commit 17d59b5

Browse files
author
Shane Williams
committed
Example filenames for ssr
1 parent d8b43f5 commit 17d59b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ To learn about using Server-Side Rendering with [Next.js](https://nextjs.org/doc
102102

103103
### Step 1: Create a Component for `DevIcon`
104104

105-
First, create a component that wraps `DevIcon`:
105+
First, create a component that wraps `DevIcon` (example _app/devicon.tsx_):
106106

107-
```tsx app/devicon
107+
```tsx
108108
import { DevIcon } from "simple-react-devicon";
109109

110110
const DevIcon = () => {
@@ -116,9 +116,9 @@ export default DevIcon;
116116

117117
### Step 2: Import the Component into Your Pages
118118

119-
Next, import the newly created component into your pages:
119+
Next, import the newly created component into your pages (example: _app/page.tsx_):
120120

121-
```tsx app/page.tsx
121+
```tsx
122122
import DevIcon from "./DevIcon";
123123

124124
export default function Page() {

0 commit comments

Comments
 (0)