From 6caa5e614cb9e437ed403388a696cf499fd85e66 Mon Sep 17 00:00:00 2001 From: Albert Chang Date: Sat, 13 Apr 2024 12:58:30 +0800 Subject: [PATCH] remove redundant index from index.route.tsx --- docs/framework/react/guide/code-splitting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/react/guide/code-splitting.md b/docs/framework/react/guide/code-splitting.md index 7d01edebe26..e424a1fb9c8 100644 --- a/docs/framework/react/guide/code-splitting.md +++ b/docs/framework/react/guide/code-splitting.md @@ -115,7 +115,7 @@ Since TanStack Router's file-based routing system is designed to support both fl To encapsulate a route's files into a directory, move the route file itself into a `.route` file within a directory with the same name as the route file. -For example, if you have a route file named `posts.tsx`, you would create a new directory named `posts` and move the `posts.tsx` file into that directory, renaming it to `index.route.tsx`. +For example, if you have a route file named `posts.tsx`, you would create a new directory named `posts` and move the `posts.tsx` file into that directory, renaming it to `route.tsx`. #### Before