Generate Remix routes with loaders, actions, and error boundaries
Create Remix application structure for:
Application Type: {{APP_TYPE}}
Features: {{FEATURES}}
Database: {{DATABASE}}
Generate complete Remix structure:
1. **Route Files:**
- _index.tsx
- Dynamic routes ($param)
- Nested routes
- Layout routes (_layout)
- Pathless layouts (_)
- Resource routes
2. **Loaders:**
- Data loading
- Authentication checks
- Redirects
- Error throwing
- Streaming with defer
3. **Actions:**
- Form handling
- Data mutations
- Validation
- Redirects
- Error handling
4. **Forms:**
- Form component
- useFetcher
- useSubmit
- Optimistic UI
- Progressive enhancement
5. **Error Handling:**
- ErrorBoundary
- CatchBoundary
- Error display
- Recovery options
6. **Meta and Links:**
- meta function
- links function
- Dynamic meta
- Canonical URLs
7. **Session Management:**
- Cookie session
- Session storage
- Flash messages
- Authentication
8. **Utilities:**
- useLoaderData
- useActionData
- useNavigation
- useMatches
9. **Configuration:**
- remix.config.js
- Server adapter
- Build configuration
Include nested routing example.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{APP_TYPE][{FEATURES][{DATABASE]