Title: tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsx · Issue #522 · TanStack/cli · GitHub
Open Graph Title: tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsx · Issue #522 · TanStack/cli
X Title: tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsx · Issue #522 · TanStack/cli
Description: Which project does this relate to? Create Tanstack App Describe the bug Tanstack query add-on command adds a router.tsx file which is unused and doesn't wrap the app in a query provider like the previous cli tooling used to do. Your Exam...
Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug Tanstack query add-on command adds a router.tsx file which is unused and doesn't wrap the app in a query provider like the pr...
X Description: Which project does this relate to? Create Tanstack App Describe the bug Tanstack query add-on command adds a router.tsx file which is unused and doesn't wrap the app in a query provider like th...
Opengraph URL: https://github.com/TanStack/cli/issues/522
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsx","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nTanstack query add-on command adds a router.tsx file which is unused and doesn't wrap the app in a query provider like the previous cli tooling used to do.\n\n### Your Example Website or App\n\nhttp://#\n\n### Steps to Reproduce the Bug or Issue\n\nIf you create a new app: I used this command:\n```\npnpm dlx @tanstack/cli@latest create frontend \\ \n --router-only \\\n --framework react \\\n --package-manager pnpm \\\n --toolchain eslint \\\n --no-examples \\\n --tailwind \\\n --no-git \\\n -y\n```\nI then added some add-ons as you can no longer add add-ons through the create interactive cli for router only\n\n```\npnpm dlx @tanstack/cli@latest add \\ \n shadcn \\ \n t3env \\ \n tanstack-query \\ \n paraglide \\ \n compiler \n```\n\n### Expected behavior\n\nFor the cli command to be able to accept router-only flag or for the router-only cli to enable add ons as part of start up\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\n\nMacOS\n\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/ARChilton","@type":"Person","name":"ARChilton"},"datePublished":"2026-10-15T14:20:26Z","url":"https://github.com/TanStack/cli/issues/522"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d2460b14-ab31-7428-faa8-5336d03d98fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B00:D51C9:2683D71:32781A7:6AF99BA9 |
| html-safe-nonce | 0d096c3152aad99439c66dbe60b6bdfd8927febc069fd9af89a80ff68e3512aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjAwOkQ1MUM5OjI2ODNENzE6MzI3ODFBNzo2QUY5OUJBOSIsInZpc2l0b3JfaWQiOiI2NDA5MzMyMzA2OTQ2Mzk5MTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 37fbf72e0995c70dfb38c3d8a7d6ea70720280b78ee0e3fdadf07a419d5b822e |
| hovercard-subject-tag | issue:5867911570 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/cli/522/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d2fb55a47c0920fdcf8e96e252a6850d7f025a08ac735bd1a7771e7d409978d/TanStack/cli/issues/522 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d2fb55a47c0920fdcf8e96e252a6850d7f025a08ac735bd1a7771e7d409978d/TanStack/cli/issues/522 |
| og:image:alt | Which project does this relate to? Create Tanstack App Describe the bug Tanstack query add-on command adds a router.tsx file which is unused and doesn't wrap the app in a query provider like the pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ARChilton |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/TanStack/cli git https://github.com/TanStack/cli.git |
| octolytics-dimension-user_id | 72518640 |
| octolytics-dimension-user_login | TanStack |
| octolytics-dimension-repository_id | 932949058 |
| octolytics-dimension-repository_nwo | TanStack/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 932949058 |
| octolytics-dimension-repository_network_root_nwo | TanStack/cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width