valerio.tsx
Renaming Index not working?
yes, that works. But according to the docs:
By default, the component that is rendered for a route comes from the default export of theindex.tsx
file in each folder. However, this can make it difficult to find the correctindex.tsx
file when searching, since there will be multiple files with that name. To avoid this, you can rename theindex.tsx
file to the name of the folder it is in and it will be rendered as the default export for that route
12 replies