SolidJSS
SolidJSโ€ข3y agoโ€ข
3 replies
younghustlercentral

Layout for layout group

To make a layout for a route you need to make a .tsx file with the same name as the parent folder. But in case of layout groups, you specify them with (), but you can also rename index.txs of a route with ().

How should I name the layout file? (app).tsx, app.tsx, routes.tsx do not work
image.png
Was this page helpful?