Layouts in Standard Directory Format #10481
Unanswered
demianlicht
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm cracking my head over this and in as much as I find several resources online, none seem to work.
I have a set of routes like:
app/
├── routes/
│ ├── crm.tsx <-- CRM layout route
│ ├── crm/ <-- Nested routes under CRM
│ │ ├── dashboard.tsx
│ │ ├── settings.tsx
│ ├── marketing.tsx <-- Marketing layout route
│ ├── marketing/ <-- Nested routes under Marketing
│ │ ├── campaigns.tsx
│ │ ├── analytics.tsx
│ ├── root.tsx <-- Default root layout
And for the life of me I can't get remix to detect them. I've tried adding a route.tsx file to each directory, an index.tsx, and all combinations of it. Succinctly,
npx remix routes
shows:Beta Was this translation helpful? Give feedback.
All reactions