Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hi guys!
I'm looking for a way to configure my routes in the Remix app template. I'd appreciate your help!
So the initial setup is as such:
app routes app.tsx app._index.tsx => /app
I'm trying to nest a route in the index route and keep the routes organized in folders. This is what I came up with as per Remix conventions:
app
routes
app.tsx
app
_index.tsx
impressions.tsx
(impressions.tsx being the nested route inside _index.tsx and added an <Outlet/> in _index.tsx)
This doesn't work. The file _index.tsx won't render at all.
Any tips to organize the app route files are welcome!
Having a similar problem. Did you fix it?
Unfortunately, not. Hopefully, someone does! 🙂