Skip to content

Commit 6afbbe4

Browse files
updated Renaming Index section to use file name in parens instead of … (#738)
Co-authored-by: Atila Fassina <[email protected]>
1 parent 1e38024 commit 6afbbe4

File tree

1 file changed

+1
-1
lines changed
  • src/routes/solid-start/building-your-application

1 file changed

+1
-1
lines changed

src/routes/solid-start/building-your-application/routing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ To avoid this, you can rename the `index.tsx` file to the name of the folder it
8181

8282
This way, it will be treated as the default export for that route:
8383

84-
```jsx {2, 4, 6}
84+
```jsx {9}
8585
|-- routes/ // example.com
8686
|-- blog/
8787
|-- article-1.tsx // example.com/blog/article-1

0 commit comments

Comments
 (0)