valerio.tsx
Renaming Index not working?
Hi! I just created a project with SolidStart starter and chose the tailwind with typescript template.
I created a
socials
folder with a socials.tsx
component (should render on /socials
according to the docs (https://docs.solidjs.com/solid-start/building-your-application/routing#renaming-index) but it only renders under /socials/socials
.
The function that I'm exporting from socials.tsx
looks like this:
I also tried renaming the function to Socials
but didn't work, what am I missing? 🤔12 replies