Skip to content

Commit

Permalink
updated Renaming Index section to use file name in parens instead of … (
Browse files Browse the repository at this point in the history
solidjs#738)

Co-authored-by: Atila Fassina <atila@fassina.eu>
  • Loading branch information
klequis and atilafassina authored Jun 19, 2024
1 parent 1e38024 commit 6afbbe4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ To avoid this, you can rename the `index.tsx` file to the name of the folder it

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

```jsx {2, 4, 6}
```jsx {9}
|-- routes/ // example.com
|-- blog/
|-- article-1.tsx // example.com/blog/article-1
Expand Down

0 comments on commit 6afbbe4

Please sign in to comment.