Skip to content
Discussion options

You must be logged in to vote

This files:

/challenges.tsx -- layout for challenges
/challenges/index.tsx -- index page
/challenges/new.tsx -- new challenge form
/challenges/$challengeId.tsx -- see a specific challenge
/challenges/$challengeId/checkin -- checkin page

Worked on the v1 of Remix, but since v2 the file convention for routes changed to be flat, you can achieve the same with:

routes/challenges.tsx -- layout for challenges
routes/challenges._index.tsx -- index page
routes/challenges.new.tsx -- new challenge form
routes/challenges.$challengeId.tsx -- see a specific challenge
routes/challenges.$challengeId.checkin.tsx -- checkin page

Noe that this is supposing everything is nested, since mention the first cha…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@djscruggs
Comment options

@sergiodxa
Comment options

Answer selected by djscruggs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants