feat(router-generator): allow to customize `index` and `route` token
☁️ Nx Cloud Report
CI is running/has finished running commands for commit a81e3f4aa9cb27271ecbe1182e5dd95e822ec066. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 2 targets
Sent with 💌 from NxCloud.
More templates
- tanstack-router-react-example-authenticated-routes
- tanstack-router-react-example-basic
- tanstack-router-react-example-basic-default-search-params
- tanstack-router-react-example-basic-file-based
- tanstack-router-react-example-basic-file-based-codesplitting
- tanstack-router-react-example-react-query
- tanstack-router-react-example-basic-react-query-file-based
- tanstack-router-react-example-basic-ssr-file-based
- tanstack-router-react-example-basic-ssr-streaming-file-based
- tanstack-router-react-example-deferred-data
- tanstack-router-react-example-kitchen-sink
- tanstack-router-react-example-kitchen-sink-file-based
- tanstack-router-react-example-kitchen-sink-react-query
- tanstack-router-react-example-kitchen-sink-react-query-file-based
- tanstack-router-react-example-large-file-based
- tanstack-router-react-example-location-masking
- tanstack-router-react-example-navigation-blocking
- tanstack-router-react-example-quickstart
- tanstack-router-react-example-quickstart-file-based
- tanstack-router-react-example-quickstart-rspack-file-based
- tanstack-router-react-example-quickstart-webpack-file-based
- tanstack-router-react-example-scroll-restoration
- tanstack-router-search-validator-adapters
- tanstack-router-example-react-start-basic
- tanstack-router-example-react-start-basic-auth
- tanstack-router-example-react-start-basic-counter
- tanstack-router-example-react-start-basic-react-query
- tanstack-router-example-react-start-basic-rsc
- tanstack-router-example-react-start-clerk-basic
- tanstack-router-example-react-start-trello-trellaux
- tanstack-router-example-react-start-trellaux
- tanstack-router-react-example-with-framer-motion
- tanstack-router-react-example-with-trpc
- tanstack-router-react-example-with-trpc-react-query
@tanstack/history
pnpm add https://pkg.pr.new/@tanstack/history@2203
@tanstack/react-cross-context
pnpm add https://pkg.pr.new/@tanstack/react-cross-context@2203
@tanstack/react-router
pnpm add https://pkg.pr.new/@tanstack/react-router@2203
@tanstack/react-router-with-query
pnpm add https://pkg.pr.new/@tanstack/react-router-with-query@2203
@tanstack/router-arktype-adapter
pnpm add https://pkg.pr.new/@tanstack/router-arktype-adapter@2203
@tanstack/router-cli
pnpm add https://pkg.pr.new/@tanstack/router-cli@2203
@tanstack/router-devtools
pnpm add https://pkg.pr.new/@tanstack/router-devtools@2203
@tanstack/router-generator
pnpm add https://pkg.pr.new/@tanstack/router-generator@2203
@tanstack/router-plugin
pnpm add https://pkg.pr.new/@tanstack/router-plugin@2203
@tanstack/router-valibot-adapter
pnpm add https://pkg.pr.new/@tanstack/router-valibot-adapter@2203
@tanstack/router-vite-plugin
pnpm add https://pkg.pr.new/@tanstack/router-vite-plugin@2203
@tanstack/router-zod-adapter
pnpm add https://pkg.pr.new/@tanstack/router-zod-adapter@2203
@tanstack/start
pnpm add https://pkg.pr.new/@tanstack/start@2203
@tanstack/start-vite-plugin
pnpm add https://pkg.pr.new/@tanstack/start-vite-plugin@2203
commit: a81e3f4
I need to test but I think underscore prefix does not cause an issue since index/route tokens are replaced before we parse the route name
I need to test but I think underscore prefix does not cause an issue since index/route tokens are replaced before we parse the route name
Definitely something worth adding a test for since the routePath replacement currently happens after the layout route status has been determined.
@arackaf