You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After doing some digging, seems that the create-next-app defaults to using the v2 route convention but the tutorial has not been updated. You can adjust by turning off v2_routeConvention in remix.config.js
brophdawg11
changed the title
Getting Route ID Collision: "routes/jokes" when following the App Tutorial
[Docs]: Update Jokes tutorial to use v2 route convention
May 4, 2023
Yeah this looks like the tutorial is just a bit stale and need to be updated to reflect the v2 routing structure. We'd happily accept a PR for this if someone wants to give it a shot!
What version of Remix are you using?
1.15
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
npx create-remix@latest
app/root.tsx
file, create theapp/routes/jokes.tsx
file, create theapp/routes/jokes/index.tsx
file as documented in the App tutorial https://remix.run/docs/en/1.15.0/tutorials/jokes#routesnpm i
,npm run dev
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: