Skip to content

Commit

Permalink
docs: remove v1 routes doc
Browse files Browse the repository at this point in the history
[skip ci]

Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Mar 22, 2023
1 parent 4af4758 commit 9bc0435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 337 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
---
title: Route File Naming (v2)
title: Route File Naming
---

# Route File Naming (v2)

You can opt-in to the new route file naming convention with a future flag in Remix config. It will be the default behavior in the future when v2 ships. For background on this change, [see the RFC][flatroutes-rfc].

```js filename=remix.config.js
module.exports = {
future: {
v2_routeConvention: true,
},
};
```

We encourage you to make this change early so upgrading is easy. We'll be providing a helper function to use the old convention in v2 if you prefer it.

---
# Route File Naming

While you can configure routes in [remix.config.js][remix-config], most routes are created with this file system convention. Add a file, get a route.

Expand Down
321 changes: 0 additions & 321 deletions docs/file-conventions/routes-files.md

This file was deleted.

0 comments on commit 9bc0435

Please sign in to comment.