SolidJSS
SolidJS3y ago
7 replies
tkirishima

Routes and FileRoutes

Hello!
I'm new to Solid and I had some questions about Routes.
I followed what was written in solidStart, but I still have some questions about FileRoutes.
For example, is it possible to create a custom Layer for some pages and still using FileRoutes ?

For example, with a tree like that
routes
├── [...404].tsx
├── index.tsx
└── test.tsx

For example, I would like for index.tsx and test.tsx to both have a <Header/> that would be defined in ~/components
I know that this is possible with Routes, but I was wondering if it was with FileRoutes
Was this page helpful?