├── .nvmrc ├── .npmrc ├── .github └── FUNDING.yml ├── e2e ├── vue-start │ ├── basic │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ │ ├── tests │ │ │ └── utils │ │ │ │ ├── isPreview.ts │ │ │ │ ├── isSpaMode.ts │ │ │ │ └── isPrerender.ts │ │ └── postcss.config.mjs │ ├── custom-basepath │ │ ├── src │ │ │ ├── utils │ │ │ │ └── basepath.ts │ │ │ └── vite-env.d.ts │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ │ └── postcss.config.mjs │ ├── spa-mode │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── website │ │ ├── .prettierignore │ │ ├── src │ │ │ └── vite-env.d.ts │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ ├── basic-tsr-config │ │ ├── .prettierignore │ │ └── src │ │ │ └── app │ │ │ └── vite-env.d.ts │ ├── basic-vue-query │ │ ├── .prettierignore │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── selective-ssr │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── server-functions │ │ ├── .prettierignore │ │ ├── src │ │ │ └── vite-env.d.ts │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── server-routes │ │ ├── .prettierignore │ │ ├── src │ │ │ └── vite-env.d.ts │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── virtual-routes │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ │ └── postcss.config.mjs │ ├── query-integration │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── scroll-restoration │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ │ ├── src │ │ │ └── vite-env.d.ts │ │ └── postcss.config.mjs │ └── serialization-adapters │ │ ├── .prettierignore │ │ └── postcss.config.mjs ├── react-router │ ├── rspack-basic-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ ├── README.md │ │ └── postcss.config.mjs │ ├── basic │ │ └── postcss.config.mjs │ ├── rspack-basic-virtual-named-export-config-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ └── README.md │ ├── basic-file-based │ │ └── postcss.config.mjs │ ├── basic-react-query │ │ └── postcss.config.mjs │ ├── generator-cli-only │ │ ├── postcss.config.mjs │ │ └── tsr.config.json │ ├── js-only-file-based │ │ └── postcss.config.mjs │ ├── sentry-integration │ │ └── postcss.config.mjs │ ├── view-transitions │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-react-query-file-based │ │ └── postcss.config.mjs │ ├── basic-scroll-restoration │ │ └── postcss.config.mjs │ ├── basic-virtual-file-based │ │ └── postcss.config.mjs │ ├── basic-file-based-code-splitting │ │ └── postcss.config.mjs │ ├── scroll-restoration-sandbox-vite │ │ ├── .gitignore │ │ └── postcss.config.mjs │ └── basepath-file-based │ │ └── src │ │ └── routes │ │ └── __root.tsx ├── react-start │ ├── basic-rsc │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ ├── basic │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ │ ├── tests │ │ │ └── utils │ │ │ │ ├── isSpaMode.ts │ │ │ │ ├── isPreview.ts │ │ │ │ └── isPrerender.ts │ │ └── postcss.config.mjs │ ├── custom-basepath │ │ ├── src │ │ │ └── utils │ │ │ │ └── basepath.ts │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ │ └── postcss.config.mjs │ ├── spa-mode │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── website │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ ├── basic-auth │ │ ├── .prettierignore │ │ ├── dev.db │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ ├── clerk-basic │ │ ├── .prettierignore │ │ ├── .env │ │ ├── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ │ ├── postcss.config.mjs │ │ └── tests │ │ │ └── app.spec.ts │ ├── selective-ssr │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── server-routes │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── virtual-routes │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ │ └── postcss.config.mjs │ ├── basic-react-query │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ ├── basic-tsr-config │ │ └── .prettierignore │ ├── query-integration │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── scroll-restoration │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── server-functions │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── serialization-adapters │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ └── basic-cloudflare │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ ├── favicon.ico │ │ ├── favicon.png │ │ ├── favicon-16x16.png │ │ └── favicon-32x32.png ├── solid-router │ ├── rspack-basic-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ ├── README.md │ │ └── postcss.config.mjs │ ├── basic │ │ └── postcss.config.mjs │ ├── rspack-basic-virtual-named-export-config-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ └── README.md │ ├── basic-file-based │ │ └── postcss.config.mjs │ ├── basic-solid-query │ │ └── postcss.config.mjs │ ├── generator-cli-only │ │ └── postcss.config.mjs │ ├── js-only-file-based │ │ └── postcss.config.mjs │ ├── sentry-integration │ │ └── postcss.config.mjs │ ├── view-transitions │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-scroll-restoration │ │ └── postcss.config.mjs │ ├── basic-solid-query-file-based │ │ └── postcss.config.mjs │ ├── basic-virtual-file-based │ │ └── postcss.config.mjs │ ├── basic-file-based-code-splitting │ │ └── postcss.config.mjs │ ├── scroll-restoration-sandbox-vite │ │ ├── .gitignore │ │ └── postcss.config.mjs │ └── basepath-file-based │ │ └── src │ │ └── routes │ │ └── __root.tsx ├── solid-start │ ├── basic │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ │ ├── tests │ │ │ └── utils │ │ │ │ ├── isSpaMode.ts │ │ │ │ ├── isPreview.ts │ │ │ │ └── isPrerender.ts │ │ ├── src │ │ │ └── vite-env.d.ts │ │ └── postcss.config.mjs │ ├── custom-basepath │ │ ├── src │ │ │ ├── utils │ │ │ │ └── basepath.ts │ │ │ └── vite-env.d.ts │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ │ └── postcss.config.mjs │ ├── spa-mode │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── website │ │ ├── .prettierignore │ │ ├── src │ │ │ └── vite-env.d.ts │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ ├── basic-auth │ │ ├── .prettierignore │ │ ├── dev.db │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ ├── selective-ssr │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── server-routes │ │ ├── .prettierignore │ │ ├── src │ │ │ └── vite-env.d.ts │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── virtual-routes │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ │ └── postcss.config.mjs │ ├── basic-solid-query │ │ ├── .prettierignore │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── basic-tsr-config │ │ ├── .prettierignore │ │ └── src │ │ │ └── app │ │ │ └── vite-env.d.ts │ ├── query-integration │ │ ├── .prettierignore │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── scroll-restoration │ │ ├── .prettierignore │ │ ├── public │ │ │ ├── script.js │ │ │ ├── script2.js │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ │ ├── src │ │ │ └── vite-env.d.ts │ │ └── postcss.config.mjs │ ├── server-functions │ │ ├── .prettierignore │ │ ├── src │ │ │ └── vite-env.d.ts │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── serialization-adapters │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ └── basic-cloudflare │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ ├── favicon.ico │ │ ├── favicon.png │ │ ├── favicon-16x16.png │ │ └── favicon-32x32.png ├── vue-router │ ├── rspack-basic-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ ├── README.md │ │ └── postcss.config.mjs │ ├── basic │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── generator-cli-only │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── js-only-file-based │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── basepath-file-based │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── src │ │ │ └── routes │ │ │ └── __root.tsx │ ├── basic-file-based-jsx │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── basic-file-based-sfc │ │ ├── test-results │ │ │ └── .last-run.json │ │ ├── postcss.config.mjs │ │ └── src │ │ │ └── routes │ │ │ ├── _layout │ │ │ └── _layout-2 │ │ │ │ ├── layout-a.component.vue │ │ │ │ └── layout-b.component.vue │ │ │ └── __root.ts │ ├── basic-esbuild-file-based │ │ ├── src │ │ │ └── jsx-shim.ts │ │ ├── test-results │ │ │ └── .last-run.json │ │ └── postcss.config.mjs │ ├── rspack-basic-virtual-named-export-config-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ └── README.md │ ├── scroll-restoration-sandbox-vite │ │ ├── test-results │ │ │ └── .last-run.json │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── basic-vue-query │ │ └── postcss.config.mjs │ ├── sentry-integration │ │ └── postcss.config.mjs │ ├── view-transitions │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-scroll-restoration │ │ └── postcss.config.mjs │ ├── basic-virtual-file-based │ │ └── postcss.config.mjs │ ├── basic-vue-query-file-based │ │ └── postcss.config.mjs │ └── basic-virtual-named-export-config-file-based │ │ └── postcss.config.mjs └── e2e-utils │ ├── tsconfig.json │ └── eslint.config.js ├── examples ├── react │ ├── i18n-paraglide │ │ ├── project.inlang │ │ │ ├── .gitignore │ │ │ └── project_id │ │ ├── src │ │ │ └── styles.css │ │ ├── public │ │ │ ├── robots.txt │ │ │ ├── favicon.ico │ │ │ ├── logo192.png │ │ │ └── logo512.png │ │ └── .gitignore │ ├── start-i18n-paraglide │ │ ├── project.inlang │ │ │ ├── .gitignore │ │ │ └── project_id │ │ ├── src │ │ │ └── styles.css │ │ ├── .prettierignore │ │ ├── .vscode │ │ │ └── extensions.json │ │ └── public │ │ │ ├── robots.txt │ │ │ ├── favicon.ico │ │ │ ├── logo192.png │ │ │ └── logo512.png │ ├── start-basic-authjs │ │ ├── src │ │ │ └── styles │ │ │ │ └── app.css │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── start-bun │ │ ├── .prettierignore │ │ └── public │ │ │ ├── robots.txt │ │ │ ├── favicon.ico │ │ │ ├── logo192.png │ │ │ └── logo512.png │ ├── router-monorepo-simple │ │ ├── pnpm-workspace.yaml.example │ │ └── assets │ │ │ └── graph.png │ ├── kitchen-sink │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── quickstart │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── router-monorepo-react-query │ │ └── pnpm-workspace.yaml.example │ ├── router-monorepo-simple-lazy │ │ └── pnpm-workspace.yaml.example │ ├── deferred-data │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── location-masking │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── quickstart-rspack-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ └── postcss.config.mjs │ ├── start-basic-rsc │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ ├── start-basic │ │ ├── .prettierignore │ │ ├── src │ │ │ └── utils │ │ │ │ └── users.tsx │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ ├── start-counter │ │ └── .prettierignore │ ├── start-large │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── start-supabase-basic │ │ ├── .env │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── start-trellaux │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── tanstack.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ ├── authenticated-routes │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── src │ │ │ └── utils.ts │ ├── basic-ssr-file-based │ │ ├── .gitignore │ │ └── src │ │ │ └── routerContext.tsx │ ├── navigation-blocking │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── quickstart-file-based │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── scroll-restoration │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── start-basic-auth │ │ ├── .prettierignore │ │ ├── dev.db │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ ├── start-basic-static │ │ ├── .prettierignore │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── start-clerk-basic │ │ ├── .prettierignore │ │ ├── .env │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── start-material-ui │ │ ├── .prettierignore │ │ └── public │ │ │ └── favicon.ico │ ├── start-tailwind-v4 │ │ └── .prettierignore │ ├── start-workos │ │ └── .prettierignore │ ├── with-framer-motion │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── basic-default-search-params │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── kitchen-sink-file-based │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── kitchen-sink-react-query │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── large-file-based │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── search-validator-adapters │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── start-basic-react-query │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── start-convex-trellaux │ │ ├── .prettierignore │ │ ├── .stackblitzrc │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ └── tanstack.png │ ├── basic-ssr-streaming-file-based │ │ ├── .gitignore │ │ └── src │ │ │ └── routerContext.tsx │ ├── quickstart-esbuild-file-based │ │ └── .gitignore │ ├── start-basic-cloudflare │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ ├── src │ │ │ └── utils │ │ │ │ └── users.tsx │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── basic │ │ └── postcss.config.mjs │ ├── kitchen-sink-react-query-file-based │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── with-trpc │ │ └── postcss.config.mjs │ ├── basic-devtools-panel │ │ └── postcss.config.mjs │ ├── basic-file-based │ │ └── postcss.config.mjs │ ├── basic-react-query │ │ └── postcss.config.mjs │ ├── start-bare │ │ └── public │ │ │ └── favicon.ico │ ├── view-transitions │ │ └── postcss.config.mjs │ ├── basic-non-nested-devtools │ │ └── postcss.config.mjs │ ├── basic-virtual-file-based │ │ └── postcss.config.mjs │ ├── with-trpc-react-query │ │ └── postcss.config.mjs │ ├── authenticated-routes-firebase │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── basic-react-query-file-based │ │ └── postcss.config.mjs │ └── basic-virtual-inside-file-based │ │ └── postcss.config.mjs ├── solid │ ├── i18n-paraglide │ │ ├── project.inlang │ │ │ ├── .gitignore │ │ │ └── project_id │ │ ├── src │ │ │ └── styles.css │ │ ├── public │ │ │ ├── robots.txt │ │ │ ├── favicon.ico │ │ │ ├── logo192.png │ │ │ └── logo512.png │ │ └── .gitignore │ ├── start-convex-better-auth │ │ ├── .gitignore │ │ └── .prettierignore │ ├── start-i18n-paraglide │ │ ├── project.inlang │ │ │ ├── .gitignore │ │ │ └── project_id │ │ ├── src │ │ │ └── styles.css │ │ ├── .prettierignore │ │ ├── .vscode │ │ │ └── extensions.json │ │ └── public │ │ │ ├── robots.txt │ │ │ ├── favicon.ico │ │ │ ├── logo192.png │ │ │ └── logo512.png │ ├── start-basic-authjs │ │ ├── src │ │ │ └── styles │ │ │ │ └── app.css │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── start-bun │ │ ├── .prettierignore │ │ └── public │ │ │ ├── robots.txt │ │ │ └── favicon.ico │ ├── router-monorepo-simple │ │ ├── pnpm-workspace.yaml.example │ │ └── assets │ │ │ └── graph.png │ ├── kitchen-sink │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── quickstart │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── router-monorepo-simple-lazy │ │ └── pnpm-workspace.yaml.example │ ├── router-monorepo-solid-query │ │ └── pnpm-workspace.yaml.example │ ├── deferred-data │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── location-masking │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── quickstart-rspack-file-based │ │ ├── src │ │ │ └── env.d.ts │ │ └── postcss.config.mjs │ ├── start-basic │ │ ├── .prettierignore │ │ ├── src │ │ │ └── utils │ │ │ │ └── users.tsx │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── apple-touch-icon.png │ ├── start-counter │ │ ├── .prettierignore │ │ └── public │ │ │ └── favicon.ico │ ├── start-large │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── authenticated-routes │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ ├── README.md │ │ └── src │ │ │ └── utils.ts │ ├── basic-ssr-file-based │ │ ├── .gitignore │ │ ├── src │ │ │ └── routerContext.tsx │ │ └── README.md │ ├── navigation-blocking │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── scroll-restoration │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── start-basic-auth │ │ ├── .prettierignore │ │ ├── dev.db │ │ ├── postcss.config.mjs │ │ └── public │ │ │ ├── favicon.ico │ │ │ ├── favicon.png │ │ │ ├── favicon-16x16.png │ │ │ └── favicon-32x32.png │ ├── start-basic-static │ │ ├── .prettierignore │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── start-supabase-basic │ │ ├── .prettierignore │ │ ├── .env.example │ │ ├── postcss.config.mjs │ │ └── public │ │ │ └── favicon.ico │ ├── start-tailwind-v4 │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── with-framer-motion │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-default-search-params │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── kitchen-sink-file-based │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── kitchen-sink-solid-query │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── large-file-based │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── search-validator-adapters │ │ ├── .gitignore │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── start-basic-solid-query │ │ ├── .prettierignore │ │ └── postcss.config.mjs │ ├── quickstart-esbuild-file-based │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── start-basic-cloudflare │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ ├── src │ │ │ └── utils │ │ │ │ └── users.tsx │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── basic-ssr-streaming-file-based │ │ ├── src │ │ │ └── routerContext.tsx │ │ └── postcss.config.mjs │ ├── basic │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── kitchen-sink-solid-query-file-based │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── quickstart-webpack-file-based │ │ ├── .babelrc │ │ └── postcss.config.mjs │ ├── start-basic-nitro │ │ ├── .prettierignore │ │ ├── src │ │ │ └── utils │ │ │ │ └── users.tsx │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── with-trpc │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── start-basic-netlify │ │ ├── .prettierignore │ │ ├── postcss.config.mjs │ │ ├── src │ │ │ └── utils │ │ │ │ └── users.tsx │ │ └── public │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ ├── start-streaming-data-from-server-functions │ │ └── .prettierignore │ ├── basic-devtools-panel │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-file-based │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-solid-query │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── view-transitions │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-non-nested-devtools │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── basic-virtual-file-based │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── quickstart-file-based │ │ ├── postcss.config.mjs │ │ └── README.md │ ├── authenticated-routes-firebase │ │ ├── .gitignore │ │ └── postcss.config.mjs │ ├── basic-solid-query-file-based │ │ └── postcss.config.mjs │ └── basic-virtual-inside-file-based │ │ └── postcss.config.mjs └── vue │ ├── basic-file-based-jsx │ └── postcss.config.mjs │ ├── basic-file-based-sfc │ ├── postcss.config.mjs │ └── src │ │ └── routes │ │ ├── _layout │ │ └── _layout-2 │ │ │ ├── layout-a.component.vue │ │ │ └── layout-b.component.vue │ │ └── __root.ts │ └── basic │ ├── README.md │ └── postcss.config.mjs ├── packages ├── router-generator │ ├── .prettierignore │ ├── tests │ │ ├── deny-route-group-config │ │ │ ├── flat-nested │ │ │ │ ├── __root.tsx │ │ │ │ ├── about.tsx │ │ │ │ └── nested │ │ │ │ │ ├── (group).tsx │ │ │ │ │ └── (group).index.tsx │ │ │ ├── nested-nested │ │ │ │ ├── __root.tsx │ │ │ │ ├── about.tsx │ │ │ │ └── nested │ │ │ │ │ ├── (group).tsx │ │ │ │ │ └── (group) │ │ │ │ │ └── index.tsx │ │ │ ├── flat-flat │ │ │ │ ├── (group).tsx │ │ │ │ ├── __root.tsx │ │ │ │ ├── about.tsx │ │ │ │ └── (group).index.tsx │ │ │ └── nested-flat │ │ │ │ ├── about.tsx │ │ │ │ ├── (group).tsx │ │ │ │ ├── __root.tsx │ │ │ │ └── (group) │ │ │ │ └── index.tsx │ │ └── generator │ │ │ ├── dot-escaped │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ ├── prefix-suffix │ │ │ └── routes │ │ │ │ └── index.tsx │ │ │ ├── route-groups │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ ├── virtual-inside-nested │ │ │ └── routes │ │ │ │ └── foo │ │ │ │ └── bar │ │ │ │ └── route.ts │ │ │ ├── file-modification-verboseFileRoutes-false │ │ │ └── routes │ │ │ │ ├── (test) │ │ │ │ └── -keep-directory │ │ │ │ └── .gitignore │ │ │ ├── file-modification-verboseFileRoutes-true │ │ │ └── routes │ │ │ │ ├── (test) │ │ │ │ └── -keep-directory │ │ │ │ └── .gitignore │ │ │ ├── flat │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ ├── flat-route-group │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ ├── nested-layouts │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ ├── routeFileIgnore │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ ├── single-level │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ ├── routeFilePrefix │ │ │ └── routes │ │ │ │ └── r&__root.tsx │ │ │ ├── no-duplicate-route-segment │ │ │ └── routes │ │ │ │ └── __root.tsx │ │ │ └── no-formatted-route-tree │ │ │ └── routes │ │ │ └── __root.tsx │ ├── src │ │ └── filesystem │ │ │ └── physical │ │ │ └── rootPathId.ts │ └── eslint.config.js ├── nitro-v2-vite-plugin │ ├── README.md │ └── eslint.config.js ├── vue-start │ └── src │ │ ├── client.tsx │ │ ├── server.tsx │ │ ├── default-entry │ │ └── start.ts │ │ ├── client-rpc.ts │ │ ├── ssr-rpc.ts │ │ ├── server-rpc.ts │ │ └── index.ts ├── react-start-client │ └── src │ │ └── tests │ │ └── setupTests.tsx ├── react-start │ └── src │ │ ├── client.tsx │ │ ├── server.tsx │ │ ├── default-entry │ │ └── start.ts │ │ ├── client-rpc.ts │ │ ├── ssr-rpc.ts │ │ ├── server-rpc.ts │ │ └── index.ts ├── router-plugin │ ├── tests │ │ └── code-splitter │ │ │ └── snapshots │ │ │ ├── react │ │ │ ├── 1-default │ │ │ │ ├── using@component.tsx │ │ │ │ ├── using@errorComponent.tsx │ │ │ │ ├── imported@errorComponent.tsx │ │ │ │ ├── using@notFoundComponent.tsx │ │ │ │ ├── importAttribute@errorComponent.tsx │ │ │ │ ├── imported@notFoundComponent.tsx │ │ │ │ ├── undefined-literals@component.tsx │ │ │ │ ├── importAttribute@notFoundComponent.tsx │ │ │ │ ├── react-memo-component@errorComponent.tsx │ │ │ │ ├── undefined-literals@errorComponent.tsx │ │ │ │ ├── boolean-null-literals@errorComponent.tsx │ │ │ │ ├── boolean-null-literals@notFoundComponent.tsx │ │ │ │ ├── conditional-properties@errorComponent.tsx │ │ │ │ ├── conditional-properties@notFoundComponent.tsx │ │ │ │ ├── imported-pendingComponent@errorComponent.tsx │ │ │ │ ├── react-memo-component@notFoundComponent.tsx │ │ │ │ ├── undefined-literals@notFoundComponent.tsx │ │ │ │ ├── imported-default-component@errorComponent.tsx │ │ │ │ ├── imported-default-component@notFoundComponent.tsx │ │ │ │ ├── imported-errorComponent@notFoundComponent.tsx │ │ │ │ ├── imported-notFoundComponent@errorComponent.tsx │ │ │ │ ├── imported-pendingComponent@notFoundComponent.tsx │ │ │ │ ├── react-memo-imported-component@errorComponent.tsx │ │ │ │ ├── react-memo-imported-component@notFoundComponent.tsx │ │ │ │ ├── arrow-function@errorComponent.tsx │ │ │ │ ├── destructured-react-memo-imported-component@errorComponent.tsx │ │ │ │ ├── destructured-react-memo-imported-component@notFoundComponent.tsx │ │ │ │ ├── export-default-component@component.tsx │ │ │ │ ├── arrow-function@notFoundComponent.tsx │ │ │ │ ├── explicit-undefined-component@component.tsx │ │ │ │ ├── export-default-component@errorComponent.tsx │ │ │ │ ├── imported-default-component-destructured-loader@errorComponent.tsx │ │ │ │ ├── imported-default-component-destructured-loader@notFoundComponent.tsx │ │ │ │ ├── explicit-undefined-component@errorComponent.tsx │ │ │ │ ├── export-default-component@notFoundComponent.tsx │ │ │ │ ├── function-declaration@errorComponent.tsx │ │ │ │ ├── function-declaration@notFoundComponent.tsx │ │ │ │ ├── explicit-undefined-component@notFoundComponent.tsx │ │ │ │ ├── export-default-component-and-normal-notFound@component.tsx │ │ │ │ └── export-default-component-and-normal-notFound@errorComponent.tsx │ │ │ ├── 2-components-combined-loader-separate │ │ │ │ ├── importAttribute@loader.tsx │ │ │ │ ├── undefined-literals@loader.tsx │ │ │ │ ├── imported-errorComponent@loader.tsx │ │ │ │ ├── imported-pendingComponent@loader.tsx │ │ │ │ ├── imported-default-component@loader.tsx │ │ │ │ ├── imported-notFoundComponent@loader.tsx │ │ │ │ ├── export-default-component@loader.tsx │ │ │ │ └── explicit-undefined-component@loader.tsx │ │ │ └── 3-all-combined-errorComponent-separate │ │ │ │ ├── using@errorComponent.tsx │ │ │ │ ├── imported@errorComponent.tsx │ │ │ │ ├── importAttribute@errorComponent.tsx │ │ │ │ ├── boolean-null-literals@errorComponent.tsx │ │ │ │ ├── react-memo-component@errorComponent.tsx │ │ │ │ ├── undefined-literals@errorComponent.tsx │ │ │ │ ├── conditional-properties@errorComponent.tsx │ │ │ │ ├── imported-default-component@errorComponent.tsx │ │ │ │ ├── imported-notFoundComponent@errorComponent.tsx │ │ │ │ ├── imported-pendingComponent@errorComponent.tsx │ │ │ │ ├── react-memo-imported-component@errorComponent.tsx │ │ │ │ ├── arrow-function@errorComponent.tsx │ │ │ │ ├── destructured-react-memo-imported-component@errorComponent.tsx │ │ │ │ └── imported-default-component-destructured-loader@errorComponent.tsx │ │ │ └── solid │ │ │ ├── 1-default │ │ │ ├── arrow-function@errorComponent.tsx │ │ │ └── arrow-function@notFoundComponent.tsx │ │ │ └── 3-all-combined-errorComponent-separate │ │ │ └── arrow-function@errorComponent.tsx │ └── eslint.config.js ├── solid-start │ └── src │ │ ├── client.tsx │ │ ├── server.tsx │ │ ├── default-entry │ │ └── start.ts │ │ ├── client-rpc.ts │ │ ├── ssr-rpc.ts │ │ ├── server-rpc.ts │ │ └── index.ts ├── vue-router │ ├── src │ │ └── ssr │ │ │ └── client.ts │ └── tsconfig.legacy.json ├── solid-router │ ├── src │ │ ├── ssr │ │ │ └── client.ts │ │ └── SafeFragment.tsx │ └── tsconfig.legacy.json ├── eslint-plugin-router │ ├── .attw.json │ ├── src │ │ └── types.ts │ └── eslint.config.js ├── router-cli │ ├── bin │ │ └── tsr.cjs │ ├── tsconfig.json │ └── eslint.config.js ├── solid-start-client │ └── src │ │ ├── tests │ │ └── setupTests.tsx │ │ └── index.tsx ├── start-plugin-core │ ├── src │ │ └── start-router-plugin │ │ │ └── constants.ts │ └── eslint.config.js ├── start-client-core │ └── src │ │ ├── client-rpc │ │ └── index.ts │ │ ├── fake-start-entry.ts │ │ └── client │ │ └── index.ts ├── react-router │ ├── tsconfig.legacy.json │ └── src │ │ └── ssr │ │ └── client.ts ├── start-server-core │ └── src │ │ ├── constants.ts │ │ ├── getServerFnById.ts │ │ └── fake-start-server-fn-manifest.ts ├── history │ ├── tsconfig.json │ └── eslint.config.js ├── router-core │ ├── src │ │ ├── ssr │ │ │ └── constants.ts │ │ └── vite-env.d.ts │ └── tsconfig.json ├── start-static-server-functions │ └── src │ │ └── index.ts ├── router-vite-plugin │ ├── src │ │ └── index.ts │ └── eslint.config.js ├── router-devtools-core │ └── media │ │ ├── logo.sketch │ │ └── repo-dark.png ├── router-utils │ └── eslint.config.js ├── zod-adapter │ └── eslint.config.js ├── arktype-adapter │ └── eslint.config.js ├── server-functions-plugin │ ├── tests │ │ └── index.test.ts │ └── eslint.config.js ├── valibot-adapter │ └── eslint.config.js └── virtual-file-routes │ └── eslint.config.js ├── .gitattributes ├── media ├── logo.sketch ├── repo-dark.png ├── header_router.png └── header_start.png ├── docs └── router │ ├── framework │ ├── solid │ │ ├── llm-support.md │ │ ├── overview.md │ │ ├── faq.md │ │ ├── guide │ │ │ ├── outlets.md │ │ │ ├── navigation.md │ │ │ └── preloading.md │ │ └── decisions-on-dx.md │ └── react │ │ └── guide │ │ └── parallel-routes.md │ └── assets │ ├── reading-writing-file-setup.png │ ├── reading-writing-file-devjokes-1.png │ └── reading-writing-file-devjokes-2.png └── knip.json /.nvmrc: -------------------------------------------------------------------------------- 1 | 24.8.0 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | provenance=true 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tannerlinsley 2 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/.prettierignore: -------------------------------------------------------------------------------- 1 | routeTree.gen.ts 2 | -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/project.inlang/.gitignore: -------------------------------------------------------------------------------- 1 | cache -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/project.inlang/.gitignore: -------------------------------------------------------------------------------- 1 | cache -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/project.inlang/.gitignore: -------------------------------------------------------------------------------- 1 | cache -------------------------------------------------------------------------------- /examples/solid/start-convex-better-auth/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .env.local -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/project.inlang/.gitignore: -------------------------------------------------------------------------------- 1 | cache -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/project.inlang/project_id: -------------------------------------------------------------------------------- 1 | 72AJsIR0c0ewzkN33F -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/src/styles.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/project.inlang/project_id: -------------------------------------------------------------------------------- 1 | 72AJsIR0c0ewzkN33F -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/src/styles.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /packages/router-generator/.prettierignore: -------------------------------------------------------------------------------- 1 | **/routeTree.*.snapshot.ts 2 | -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/src/styles.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/src/styles.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-nested/__root.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/react/start-basic-authjs/src/styles/app.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/project.inlang/project_id: -------------------------------------------------------------------------------- 1 | UoZ15Q8qSGIbImRS3Y -------------------------------------------------------------------------------- /examples/solid/start-basic-authjs/src/styles/app.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/project.inlang/project_id: -------------------------------------------------------------------------------- 1 | UoZ15Q8qSGIbImRS3Y -------------------------------------------------------------------------------- /packages/nitro-v2-vite-plugin/README.md: -------------------------------------------------------------------------------- 1 | # Experimental Nitro v2 Vite Plugin 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-nested/__root.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/dot-escaped/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/prefix-suffix/routes/index.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/route-groups/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/vue-start/src/client.tsx: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/vue-start-client' 2 | -------------------------------------------------------------------------------- /packages/vue-start/src/server.tsx: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/vue-start-server' 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /media/logo.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/media/logo.sketch -------------------------------------------------------------------------------- /packages/react-start-client/src/tests/setupTests.tsx: -------------------------------------------------------------------------------- 1 | import '@testing-library/react' 2 | -------------------------------------------------------------------------------- /packages/react-start/src/client.tsx: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/react-start-client' 2 | -------------------------------------------------------------------------------- /packages/react-start/src/server.tsx: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/react-start-server' 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-flat/(group).tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-flat/__root.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-flat/about.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-nested/about.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-flat/about.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/virtual-inside-nested/routes/foo/bar/route.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/using@component.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/solid-start/src/client.tsx: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/solid-start-client' 2 | -------------------------------------------------------------------------------- /packages/solid-start/src/server.tsx: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/solid-start-server' 2 | -------------------------------------------------------------------------------- /packages/vue-router/src/ssr/client.ts: -------------------------------------------------------------------------------- 1 | export { RouterClient } from './RouterClient' 2 | -------------------------------------------------------------------------------- /packages/vue-start/src/default-entry/start.ts: -------------------------------------------------------------------------------- 1 | export const startInstance = undefined 2 | -------------------------------------------------------------------------------- /examples/react/start-bun/.prettierignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | pnpm-lock.yaml 3 | yarn.lock -------------------------------------------------------------------------------- /examples/solid/start-bun/.prettierignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | pnpm-lock.yaml 3 | yarn.lock -------------------------------------------------------------------------------- /media/repo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/media/repo-dark.png -------------------------------------------------------------------------------- /packages/react-start/src/default-entry/start.ts: -------------------------------------------------------------------------------- 1 | export const startInstance = undefined 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-flat/(group).tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-flat/__root.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-nested/about.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/using@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/solid-router/src/ssr/client.ts: -------------------------------------------------------------------------------- 1 | export { RouterClient } from './RouterClient' 2 | -------------------------------------------------------------------------------- /packages/solid-start/src/default-entry/start.ts: -------------------------------------------------------------------------------- 1 | export const startInstance = undefined 2 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/src/utils/basepath.ts: -------------------------------------------------------------------------------- 1 | export const basepath = '/custom/basepath' 2 | -------------------------------------------------------------------------------- /examples/react/router-monorepo-simple/pnpm-workspace.yaml.example: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*' -------------------------------------------------------------------------------- /examples/solid/router-monorepo-simple/pnpm-workspace.yaml.example: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*' -------------------------------------------------------------------------------- /media/header_router.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/media/header_router.png -------------------------------------------------------------------------------- /media/header_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/media/header_start.png -------------------------------------------------------------------------------- /packages/eslint-plugin-router/.attw.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreRules": ["false-export-default"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/react-start/src/client-rpc.ts: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/start-client-core/client-rpc' 2 | -------------------------------------------------------------------------------- /packages/router-cli/bin/tsr.cjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../dist/cjs/index.cjs') 4 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-flat/(group).index.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-nested/nested/(group).tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-flat/(group)/index.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/using@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/solid-start-client/src/tests/setupTests.tsx: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/vitest' 2 | -------------------------------------------------------------------------------- /packages/solid-start/src/client-rpc.ts: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/start-client-core/client-rpc' 2 | -------------------------------------------------------------------------------- /packages/vue-start/src/client-rpc.ts: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/start-client-core/client-rpc' 2 | -------------------------------------------------------------------------------- /e2e/react-router/rspack-basic-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /e2e/react-start/basic-rsc/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/basic/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/react-start/basic/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/src/utils/basepath.ts: -------------------------------------------------------------------------------- 1 | export const basepath = '/custom/basepath' 2 | -------------------------------------------------------------------------------- /e2e/react-start/spa-mode/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/website/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-router/rspack-basic-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /e2e/solid-start/basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/src/utils/basepath.ts: -------------------------------------------------------------------------------- 1 | export const basepath = '/custom/basepath' 2 | -------------------------------------------------------------------------------- /e2e/solid-start/spa-mode/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/website/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-router/rspack-basic-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/vue-start/spa-mode/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/website/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/kitchen-sink/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/quickstart/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/router-monorepo-react-query/pnpm-workspace.yaml.example: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*' -------------------------------------------------------------------------------- /examples/react/router-monorepo-simple-lazy/pnpm-workspace.yaml.example: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*' -------------------------------------------------------------------------------- /examples/solid/kitchen-sink/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/quickstart/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/router-monorepo-simple-lazy/pnpm-workspace.yaml.example: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*' -------------------------------------------------------------------------------- /examples/solid/router-monorepo-solid-query/pnpm-workspace.yaml.example: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*' -------------------------------------------------------------------------------- /packages/router-generator/src/filesystem/physical/rootPathId.ts: -------------------------------------------------------------------------------- 1 | export const rootPathId = '__root' 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/flat-nested/nested/(group).index.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-nested/nested/(group).tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/importAttribute@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/undefined-literals@component.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/solid/1-default/arrow-function@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/start-plugin-core/src/start-router-plugin/constants.ts: -------------------------------------------------------------------------------- 1 | export const SERVER_PROP = 'server' 2 | -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/selective-ssr/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/server-routes/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/selective-ssr/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/server-routes/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-router/basic/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-start/basic-tsr-config/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/basic-vue-query/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/vue-start/selective-ssr/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/server-functions/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/server-routes/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /examples/react/deferred-data/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/location-masking/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/quickstart-rspack-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/react/start-basic-rsc/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-counter/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-large/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-supabase-basic/.env: -------------------------------------------------------------------------------- 1 | SUPABASE_URL=PleaseChangeMe 2 | SUPABASE_ANON_KEY=PleaseChangeMe -------------------------------------------------------------------------------- /examples/react/start-trellaux/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/deferred-data/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/location-masking/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/quickstart-rspack-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/solid/start-basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-counter/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-large/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /packages/router-generator/tests/deny-route-group-config/nested-nested/nested/(group)/index.tsx: -------------------------------------------------------------------------------- 1 | /** */ 2 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/importAttribute@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/react-memo-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/undefined-literals@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/solid/1-default/arrow-function@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/start-client-core/src/client-rpc/index.ts: -------------------------------------------------------------------------------- 1 | export { createClientRpc } from './createClientRpc' 2 | -------------------------------------------------------------------------------- /docs/router/framework/solid/llm-support.md: -------------------------------------------------------------------------------- 1 | --- 2 | ref: docs/router/framework/react/llm-support.md 3 | --- 4 | -------------------------------------------------------------------------------- /e2e/react-start/basic-react-query/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/basic-tsr-config/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/basic/tests/utils/isSpaMode.ts: -------------------------------------------------------------------------------- 1 | export const isSpaMode: boolean = process.env.MODE === 'spa' 2 | -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/react-start/query-integration/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/scroll-restoration/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/server-functions/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-solid-query/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/basic-tsr-config/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/basic/tests/utils/isSpaMode.ts: -------------------------------------------------------------------------------- 1 | export const isSpaMode: boolean = process.env.MODE === 'spa' 2 | -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/query-integration/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/scroll-restoration/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/scroll-restoration/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/server-functions/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/tests/utils/isPreview.ts: -------------------------------------------------------------------------------- 1 | export const isPreview: boolean = process.env.MODE === 'preview' 2 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/tests/utils/isSpaMode.ts: -------------------------------------------------------------------------------- 1 | export const isSpaMode: boolean = process.env.MODE === 'spa' 2 | -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/vue-start/query-integration/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/scroll-restoration/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-start/scroll-restoration/public/script.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_1 loaded') 2 | window.SCRIPT_1 = true 3 | -------------------------------------------------------------------------------- /e2e/vue-start/scroll-restoration/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /examples/react/authenticated-routes/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/basic-ssr-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/navigation-blocking/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/quickstart-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/scroll-restoration/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-auth/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-basic-static/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-clerk-basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-material-ui/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-supabase-basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-tailwind-v4/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-workos/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | src/routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/with-framer-motion/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/authenticated-routes/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/basic-ssr-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/navigation-blocking/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/scroll-restoration/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-auth/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-basic-static/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-supabase-basic/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-tailwind-v4/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/with-framer-motion/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /packages/react-start/src/ssr-rpc.ts: -------------------------------------------------------------------------------- 1 | export { createSsrRpc } from '@tanstack/start-server-core/createSsrRpc' 2 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/file-modification-verboseFileRoutes-false/routes/(test)/-keep-directory: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/file-modification-verboseFileRoutes-false/routes/.gitignore: -------------------------------------------------------------------------------- 1 | (test)/*.tsx -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/file-modification-verboseFileRoutes-true/routes/(test)/-keep-directory: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/file-modification-verboseFileRoutes-true/routes/.gitignore: -------------------------------------------------------------------------------- 1 | (test)/*.tsx -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/boolean-null-literals@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/boolean-null-literals@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/conditional-properties@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/conditional-properties@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-pendingComponent@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/react-memo-component@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/undefined-literals@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/solid-start/src/ssr-rpc.ts: -------------------------------------------------------------------------------- 1 | export { createSsrRpc } from '@tanstack/start-server-core/createSsrRpc' 2 | -------------------------------------------------------------------------------- /packages/vue-router/tsconfig.legacy.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["src"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/vue-start/src/ssr-rpc.ts: -------------------------------------------------------------------------------- 1 | export { createSsrRpc } from '@tanstack/start-server-core/createSsrRpc' 2 | -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-auth/dev.db -------------------------------------------------------------------------------- /e2e/react-start/basic/tests/utils/isPreview.ts: -------------------------------------------------------------------------------- 1 | export const isPreview: boolean = process.env.MODE === 'preview' 2 | -------------------------------------------------------------------------------- /e2e/react-start/serialization-adapters/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-auth/dev.db -------------------------------------------------------------------------------- /e2e/solid-start/basic-solid-query/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/solid-start/basic/tests/utils/isPreview.ts: -------------------------------------------------------------------------------- 1 | export const isPreview: boolean = process.env.MODE === 'preview' 2 | -------------------------------------------------------------------------------- /e2e/solid-start/query-integration/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/solid-start/scroll-restoration/public/script2.js: -------------------------------------------------------------------------------- 1 | console.log('SCRIPT_2 loaded') 2 | window.SCRIPT_2 = true 3 | -------------------------------------------------------------------------------- /e2e/solid-start/serialization-adapters/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /e2e/vue-router/generator-cli-only/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-router/js-only-file-based/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-start/basic-vue-query/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-start/serialization-adapters/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/basic-default-search-params/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/basic-ssr-file-based/src/routerContext.tsx: -------------------------------------------------------------------------------- 1 | export type RouterContext = { 2 | head: string 3 | } 4 | -------------------------------------------------------------------------------- /examples/react/kitchen-sink-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/kitchen-sink-react-query/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/large-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | (gen) 7 | -------------------------------------------------------------------------------- /examples/react/search-validator-adapters/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-authjs/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .env 4 | *.local 5 | .DS_Store 6 | .tanstack -------------------------------------------------------------------------------- /examples/react/start-basic-react-query/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/react/start-convex-trellaux/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/basic-default-search-params/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/basic-ssr-file-based/src/routerContext.tsx: -------------------------------------------------------------------------------- 1 | export type RouterContext = { 2 | head: string 3 | } 4 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-solid-query/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/large-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | (gen) 7 | -------------------------------------------------------------------------------- /examples/solid/search-validator-adapters/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-authjs/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .env 4 | *.local 5 | .DS_Store 6 | .tanstack -------------------------------------------------------------------------------- /examples/solid/start-basic-solid-query/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-convex-better-auth/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /examples/solid/start-supabase-basic/.env.example: -------------------------------------------------------------------------------- 1 | SUPABASE_URL=PleaseChangeMe 2 | SUPABASE_ANON_KEY=PleaseChangeMe 3 | -------------------------------------------------------------------------------- /packages/react-router/tsconfig.legacy.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["src"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-default-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-default-component@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-errorComponent@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-notFoundComponent@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-pendingComponent@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/react-memo-imported-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/solid-router/tsconfig.legacy.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["src"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/vue-start/src/server-rpc.ts: -------------------------------------------------------------------------------- 1 | export { createServerRpc } from '@tanstack/start-server-core/createServerRpc' 2 | -------------------------------------------------------------------------------- /e2e/react-start/basic/tests/utils/isPrerender.ts: -------------------------------------------------------------------------------- 1 | export const isPrerender: boolean = process.env.MODE === 'prerender' 2 | -------------------------------------------------------------------------------- /e2e/solid-start/basic/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/solid-start/basic/tests/utils/isPrerender.ts: -------------------------------------------------------------------------------- 1 | export const isPrerender: boolean = process.env.MODE === 'prerender' 2 | -------------------------------------------------------------------------------- /e2e/vue-router/basepath-file-based/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-router/basic-file-based-jsx/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-router/basic-file-based-sfc/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-start/basic/tests/utils/isPrerender.ts: -------------------------------------------------------------------------------- 1 | export const isPrerender: boolean = process.env.MODE === 'prerender' 2 | -------------------------------------------------------------------------------- /e2e/vue-start/website/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /examples/react/basic-ssr-streaming-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/quickstart-esbuild-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-cloudflare/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .cache 4 | .env 5 | dist 6 | .wrangler 7 | -------------------------------------------------------------------------------- /examples/react/start-bun/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /examples/solid/quickstart-esbuild-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-cloudflare/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .cache 4 | .env 5 | dist 6 | .wrangler 7 | -------------------------------------------------------------------------------- /examples/solid/start-bun/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/knip@5/schema.json", 3 | "ignoreWorkspaces": ["examples/**"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/react-start/src/server-rpc.ts: -------------------------------------------------------------------------------- 1 | export { createServerRpc } from '@tanstack/start-server-core/createServerRpc' 2 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/react-memo-imported-component@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/importAttribute@loader.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/using@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/solid-start/src/server-rpc.ts: -------------------------------------------------------------------------------- 1 | export { createServerRpc } from '@tanstack/start-server-core/createServerRpc' 2 | -------------------------------------------------------------------------------- /packages/start-server-core/src/constants.ts: -------------------------------------------------------------------------------- 1 | export const HEADERS = { 2 | TSS_SHELL: 'X-TSS_SHELL', 3 | } as const 4 | -------------------------------------------------------------------------------- /packages/start-server-core/src/getServerFnById.ts: -------------------------------------------------------------------------------- 1 | export { getServerFnById } from '#tanstack-start-server-fn-manifest' 2 | -------------------------------------------------------------------------------- /docs/router/framework/solid/overview.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Overview 3 | ref: docs/router/framework/react/overview.md 4 | --- 5 | -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/.env: -------------------------------------------------------------------------------- 1 | CLERK_PUBLISHABLE_KEY=[YOUR_CLERK_PUBLISHABLE_KEY] 2 | CLERK_SECRET_KEY=[YOUR_CLERK_SECRET_KEY] -------------------------------------------------------------------------------- /e2e/solid-start/website/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-esbuild-file-based/src/jsx-shim.ts: -------------------------------------------------------------------------------- 1 | import { Fragment, h } from 'vue' 2 | 3 | export { Fragment, h } 4 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-esbuild-file-based/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-router/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/basic/public/favicon.ico -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/basic/public/favicon.png -------------------------------------------------------------------------------- /examples/react/basic-ssr-streaming-file-based/src/routerContext.tsx: -------------------------------------------------------------------------------- 1 | export type RouterContext = { 2 | head: string 3 | } 4 | -------------------------------------------------------------------------------- /examples/react/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /examples/react/kitchen-sink-react-query-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-auth/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-auth/dev.db -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["inlang.vs-code-extension"] 3 | } 4 | -------------------------------------------------------------------------------- /examples/solid/basic-ssr-streaming-file-based/src/routerContext.tsx: -------------------------------------------------------------------------------- 1 | export type RouterContext = { 2 | head: string 3 | } 4 | -------------------------------------------------------------------------------- /examples/solid/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-solid-query-file-based/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-auth/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-auth/dev.db -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["inlang.vs-code-extension"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/history/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "include": ["src", "vite.config.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/router-cli/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "include": ["src", "vite.config.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/router-core/src/ssr/constants.ts: -------------------------------------------------------------------------------- 1 | export const GLOBAL_TSR = '$_TSR' 2 | export declare const GLOBAL_SEROVAL: '$R' 3 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/flat/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/undefined-literals@loader.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/imported@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/start-server-core/src/fake-start-server-fn-manifest.ts: -------------------------------------------------------------------------------- 1 | export async function getServerFnById(): Promise {} 2 | -------------------------------------------------------------------------------- /packages/start-static-server-functions/src/index.ts: -------------------------------------------------------------------------------- 1 | export { staticFunctionMiddleware } from './staticFunctionMiddleware' 2 | -------------------------------------------------------------------------------- /packages/vue-start/src/index.ts: -------------------------------------------------------------------------------- 1 | export { useServerFn } from './useServerFn' 2 | export * from '@tanstack/start-client-core' 3 | -------------------------------------------------------------------------------- /e2e/e2e-utils/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "include": ["src", "vite.config.ts", "tests"] 4 | } 5 | -------------------------------------------------------------------------------- /e2e/react-router/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/rspack-basic-virtual-named-export-config-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /e2e/react-start/basic-cloudflare/.prettierignore: -------------------------------------------------------------------------------- 1 | **/public 2 | pnpm-lock.yaml 3 | routeTree.gen.ts 4 | worker-configuration.d.ts 5 | -------------------------------------------------------------------------------- /e2e/react-start/basic-rsc/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/basic/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/spa-mode/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/website/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/rspack-basic-virtual-named-export-config-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-cloudflare/.prettierignore: -------------------------------------------------------------------------------- 1 | **/public 2 | pnpm-lock.yaml 3 | routeTree.gen.ts 4 | worker-configuration.d.ts 5 | -------------------------------------------------------------------------------- /e2e/solid-start/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/solid-start/server-routes/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/solid-start/spa-mode/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/website/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/rspack-basic-virtual-named-export-config-file-based/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /e2e/vue-router/scroll-restoration-sandbox-vite/test-results/.last-run.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "passed", 3 | "failedTests": [] 4 | } -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/vue-start/server-functions/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/vue-start/server-routes/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/vue-start/spa-mode/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/website/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/website/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/website/public/favicon.ico -------------------------------------------------------------------------------- /e2e/vue-start/website/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/website/public/favicon.png -------------------------------------------------------------------------------- /examples/react/quickstart/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic/src/utils/users.tsx: -------------------------------------------------------------------------------- 1 | export type User = { 2 | id: number 3 | name: string 4 | email: string 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /examples/react/with-trpc/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/quickstart-webpack-file-based/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["babel-preset-solid", "@babel/preset-typescript"] 3 | } 4 | -------------------------------------------------------------------------------- /examples/solid/quickstart/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-nitro/.prettierignore: -------------------------------------------------------------------------------- 1 | **/public 2 | pnpm-lock.yaml 3 | routeTree.gen.ts 4 | worker-configuration.d.ts 5 | -------------------------------------------------------------------------------- /examples/solid/start-basic/src/utils/users.tsx: -------------------------------------------------------------------------------- 1 | export type User = { 2 | id: number 3 | name: string 4 | email: string 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /examples/solid/with-trpc/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /packages/eslint-plugin-router/src/types.ts: -------------------------------------------------------------------------------- 1 | export type ExtraRuleDocs = { 2 | recommended: 'strict' | 'error' | 'warn' 3 | } 4 | -------------------------------------------------------------------------------- /packages/react-start/src/index.ts: -------------------------------------------------------------------------------- 1 | export { useServerFn } from './useServerFn' 2 | export * from '@tanstack/start-client-core' 3 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/arrow-function@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/destructured-react-memo-imported-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/destructured-react-memo-imported-component@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/export-default-component@component.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/imported-errorComponent@loader.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/imported-pendingComponent@loader.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/importAttribute@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/solid/3-all-combined-errorComponent-separate/arrow-function@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/solid-router/src/SafeFragment.tsx: -------------------------------------------------------------------------------- 1 | export function SafeFragment(props: any) { 2 | return <>{props.children} 3 | } 4 | -------------------------------------------------------------------------------- /packages/solid-start/src/index.ts: -------------------------------------------------------------------------------- 1 | export { useServerFn } from './useServerFn' 2 | export * from '@tanstack/start-client-core' 3 | -------------------------------------------------------------------------------- /packages/start-client-core/src/fake-start-entry.ts: -------------------------------------------------------------------------------- 1 | export const startInstance = undefined 2 | export const getRouter = () => {} 3 | -------------------------------------------------------------------------------- /e2e/react-router/rspack-basic-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `pnpm install` 6 | - `pnpm dev` 7 | -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/selective-ssr/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/server-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/website/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/website/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/website/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/website/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-router/rspack-basic-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `pnpm install` 6 | - `pnpm dev` 7 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-tsr-config/src/app/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/solid-start/scroll-restoration/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/solid-start/selective-ssr/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/server-functions/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/solid-start/server-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/website/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/website/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/website/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/website/public/favicon.png -------------------------------------------------------------------------------- /e2e/vue-router/basic-vue-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/rspack-basic-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `pnpm install` 6 | - `pnpm dev` 7 | -------------------------------------------------------------------------------- /e2e/vue-start/basic-tsr-config/src/app/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/vue-start/basic-vue-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/scroll-restoration/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?url' { 2 | const url: string 3 | export default url 4 | } 5 | -------------------------------------------------------------------------------- /e2e/vue-start/selective-ssr/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/server-functions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/server-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/deferred-data/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/kitchen-sink/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-cloudflare/.prettierignore: -------------------------------------------------------------------------------- 1 | **/public 2 | pnpm-lock.yaml 3 | routeTree.gen.ts 4 | worker-configuration.d.ts 5 | -------------------------------------------------------------------------------- /examples/react/start-basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-bun/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-bun/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-bun/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-bun/public/logo192.png -------------------------------------------------------------------------------- /examples/react/start-bun/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-bun/public/logo512.png -------------------------------------------------------------------------------- /examples/react/start-clerk-basic/.env: -------------------------------------------------------------------------------- 1 | VITE_CLERK_PUBLISHABLE_KEY=[YOUR_CLERK_PUBLISHABLE_KEY] 2 | CLERK_SECRET_KEY=[YOUR_CLERK_SECRET_KEY] -------------------------------------------------------------------------------- /examples/react/start-convex-trellaux/.stackblitzrc: -------------------------------------------------------------------------------- 1 | { 2 | "startCommand": "cp .env.local.example .env.local && npx vite dev" 3 | } 4 | -------------------------------------------------------------------------------- /examples/react/start-large/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-trellaux/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/deferred-data/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-cloudflare/.prettierignore: -------------------------------------------------------------------------------- 1 | **/public 2 | pnpm-lock.yaml 3 | routeTree.gen.ts 4 | worker-configuration.d.ts 5 | -------------------------------------------------------------------------------- /examples/solid/start-basic-netlify/.prettierignore: -------------------------------------------------------------------------------- 1 | **/public 2 | pnpm-lock.yaml 3 | routeTree.gen.ts 4 | worker-configuration.d.ts 5 | -------------------------------------------------------------------------------- /examples/solid/start-basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-bun/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-bun/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-large/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-streaming-data-from-server-functions/.prettierignore: -------------------------------------------------------------------------------- 1 | **/build 2 | **/public 3 | pnpm-lock.yaml 4 | routeTree.gen.ts -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/flat-route-group/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/nested-layouts/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/routeFileIgnore/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/single-level/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/arrow-function@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/explicit-undefined-component@component.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/export-default-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-default-component-destructured-loader@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/imported-default-component-destructured-loader@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/imported-default-component@loader.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/imported-notFoundComponent@loader.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/boolean-null-literals@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/react-memo-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/undefined-literals@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/router/framework/solid/faq.md: -------------------------------------------------------------------------------- 1 | --- 2 | ref: docs/router/framework/react/faq.md 3 | replace: { 'react-router': 'solid-router' } 4 | --- 5 | -------------------------------------------------------------------------------- /e2e/react-router/basic-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/basic-react-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/generator-cli-only/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/js-only-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/sentry-integration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/view-transitions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-auth/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-auth/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/basic-cloudflare/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/basic-react-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/basic-rsc/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-rsc/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/basic-rsc/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-rsc/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/basic/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/basic/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/clerk-basic/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/clerk-basic/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/query-integration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/server-functions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/basic-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/basic-solid-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/generator-cli-only/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/js-only-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/sentry-integration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/view-transitions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-auth/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-auth/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-start/basic-cloudflare/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-solid-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/query-integration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/server-functions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-file-based-jsx/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-file-based-sfc/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/generator-cli-only/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/js-only-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/sentry-integration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/view-transitions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/basic/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/basic/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/vue-start/query-integration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/server-routes/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/server-routes/public/favicon.ico -------------------------------------------------------------------------------- /e2e/vue-start/server-routes/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/server-routes/public/favicon.png -------------------------------------------------------------------------------- /e2e/vue-start/website/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/website/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/vue-start/website/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/website/public/favicon-32x32.png -------------------------------------------------------------------------------- /examples/react/authenticated-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/basic-devtools-panel/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/basic-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/basic-react-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/large-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/location-masking/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/navigation-blocking/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-bare/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-bare/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-basic-auth/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-authjs/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-basic/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic/public/favicon.png -------------------------------------------------------------------------------- /examples/react/start-clerk-basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-supabase-basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/view-transitions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/with-framer-motion/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/authenticated-routes/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-devtools-panel/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-solid-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/large-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/location-masking/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/navigation-blocking/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-auth/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-authjs/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-netlify/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-netlify/src/utils/users.tsx: -------------------------------------------------------------------------------- 1 | export type User = { 2 | id: number 3 | name: string 4 | email: string 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-nitro/src/utils/users.tsx: -------------------------------------------------------------------------------- 1 | export type User = { 2 | id: number 3 | name: string 4 | email: string 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-basic/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic/public/favicon.png -------------------------------------------------------------------------------- /examples/solid/start-supabase-basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-tailwind-v4/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/view-transitions/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/with-framer-motion/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/vue/basic-file-based-jsx/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/vue/basic-file-based-sfc/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/vue/basic/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/vue/basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /packages/react-router/src/ssr/client.ts: -------------------------------------------------------------------------------- 1 | export { RouterClient } from './RouterClient' 2 | export * from '@tanstack/router-core/ssr/client' 3 | -------------------------------------------------------------------------------- /packages/router-core/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*?script-string' { 2 | const content: string 3 | export default content 4 | } 5 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/routeFilePrefix/routes/r&__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/explicit-undefined-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/export-default-component@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/function-declaration@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/function-declaration@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/conditional-properties@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/imported-default-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/imported-notFoundComponent@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/imported-pendingComponent@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-vite-plugin/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from '@tanstack/router-plugin/vite' 2 | export type * from '@tanstack/router-plugin/vite' 3 | -------------------------------------------------------------------------------- /packages/solid-start-client/src/index.tsx: -------------------------------------------------------------------------------- 1 | export { StartClient } from './StartClient' 2 | export { hydrateStart } from './hydrateStart' 3 | -------------------------------------------------------------------------------- /docs/router/framework/react/guide/parallel-routes.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Parallel Routes 3 | --- 4 | 5 | We haven't covered this yet. Stay tuned! 6 | -------------------------------------------------------------------------------- /e2e/e2e-utils/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /e2e/react-router/rspack-basic-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/serialization-adapters/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/server-routes/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/server-routes/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/server-routes/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/server-routes/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/website/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/website/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/website/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/website/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/solid-router/rspack-basic-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/serialization-adapters/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/server-routes/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/server-routes/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/server-routes/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/server-routes/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-start/website/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/website/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/solid-start/website/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/website/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/vue-router/basic-esbuild-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-virtual-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/rspack-basic-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/basic/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/custom-basepath/public/favicon.ico -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/custom-basepath/public/favicon.png -------------------------------------------------------------------------------- /e2e/vue-start/serialization-adapters/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/virtual-routes/public/favicon.ico -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/virtual-routes/public/favicon.png -------------------------------------------------------------------------------- /examples/react/basic-non-nested-devtools/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/basic-virtual-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/i18n-paraglide/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/i18n-paraglide/public/logo192.png -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/i18n-paraglide/public/logo512.png -------------------------------------------------------------------------------- /examples/react/kitchen-sink-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/kitchen-sink-react-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/quickstart-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/search-validator-adapters/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-cloudflare/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-cloudflare/src/utils/users.tsx: -------------------------------------------------------------------------------- 1 | export type User = { 2 | id: number 3 | name: string 4 | email: string 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-react-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-convex-trellaux/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-trellaux/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-trellaux/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-trellaux/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-trellaux/public/favicon.png -------------------------------------------------------------------------------- /examples/react/with-trpc-react-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-non-nested-devtools/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-virtual-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/i18n-paraglide/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/i18n-paraglide/public/logo192.png -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/i18n-paraglide/public/logo512.png -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-solid-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/quickstart-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/quickstart/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/search-validator-adapters/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-cloudflare/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-cloudflare/src/utils/users.tsx: -------------------------------------------------------------------------------- 1 | export type User = { 2 | id: number 3 | name: string 4 | email: string 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-solid-query/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-counter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-counter/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/with-trpc/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/vue/basic-file-based-sfc/src/routes/_layout/_layout-2/layout-a.component.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /examples/vue/basic-file-based-sfc/src/routes/_layout/_layout-2/layout-b.component.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/history/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/router-devtools-core/media/logo.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/packages/router-devtools-core/media/logo.sketch -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/no-duplicate-route-segment/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-generator/tests/generator/no-formatted-route-tree/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | export const Route = createFileRoute() 3 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/explicit-undefined-component@notFoundComponent.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/react-memo-imported-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/router/assets/reading-writing-file-setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/docs/router/assets/reading-writing-file-setup.png -------------------------------------------------------------------------------- /e2e/react-router/basic-react-query-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/basic-scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/basic-virtual-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-auth/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-auth/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/react-start/basic-cloudflare/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-cloudflare/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/basic-cloudflare/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-cloudflare/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/basic-rsc/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-rsc/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/basic-rsc/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-rsc/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/react-start/basic/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/custom-basepath/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/custom-basepath/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/server-functions/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/server-functions/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/server-functions/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/server-functions/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/virtual-routes/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/virtual-routes/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/website/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/website/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/solid-router/basic-scroll-restoration/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/basic-solid-query-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/basic-virtual-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-auth/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-auth/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/solid-start/basic-cloudflare/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-cloudflare/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/basic-cloudflare/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-cloudflare/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/custom-basepath/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/custom-basepath/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-start/server-functions/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/server-functions/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/server-functions/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/server-functions/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/virtual-routes/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/virtual-routes/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-start/website/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/website/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/vue-router/basic-file-based-sfc/src/routes/_layout/_layout-2/layout-a.component.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-file-based-sfc/src/routes/_layout/_layout-2/layout-b.component.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-vue-query-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/scroll-restoration-sandbox-vite/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | dist-hash 6 | *.local 7 | test-results 8 | -------------------------------------------------------------------------------- /e2e/vue-start/scroll-restoration/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/scroll-restoration/public/favicon.ico -------------------------------------------------------------------------------- /e2e/vue-start/scroll-restoration/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/scroll-restoration/public/favicon.png -------------------------------------------------------------------------------- /e2e/vue-start/server-functions/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/server-functions/public/favicon.ico -------------------------------------------------------------------------------- /e2e/vue-start/server-functions/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/server-functions/public/favicon.png -------------------------------------------------------------------------------- /e2e/vue-start/website/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/website/public/apple-touch-icon.png -------------------------------------------------------------------------------- /examples/react/authenticated-routes-firebase/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | .env.* 7 | !.env.example 8 | -------------------------------------------------------------------------------- /examples/react/authenticated-routes-firebase/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/basic-default-search-params/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/basic-react-query-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/quickstart-rspack-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-auth/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-auth/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-basic-auth/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-auth/public/favicon.png -------------------------------------------------------------------------------- /examples/react/start-basic-rsc/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /examples/react/start-basic-rsc/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-rsc/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-basic-rsc/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-rsc/public/favicon.png -------------------------------------------------------------------------------- /examples/react/start-basic/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic/public/favicon-16x16.png -------------------------------------------------------------------------------- /examples/react/start-basic/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic/public/favicon-32x32.png -------------------------------------------------------------------------------- /examples/react/start-clerk-basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-clerk-basic/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-clerk-basic/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-clerk-basic/public/favicon.png -------------------------------------------------------------------------------- /examples/react/start-material-ui/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-material-ui/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-trellaux/public/tanstack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-trellaux/public/tanstack.png -------------------------------------------------------------------------------- /examples/solid/authenticated-routes-firebase/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | .env.* 7 | !.env.example 8 | -------------------------------------------------------------------------------- /examples/solid/authenticated-routes-firebase/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-default-search-params/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-solid-query-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/basic-ssr-streaming-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/deferred-data/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/quickstart-esbuild-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/quickstart-rspack-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/quickstart-webpack-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/start-basic-auth/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-auth/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-basic-auth/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-auth/public/favicon.png -------------------------------------------------------------------------------- /examples/solid/start-basic-nitro/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-nitro/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-basic-nitro/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-nitro/public/favicon.png -------------------------------------------------------------------------------- /examples/solid/start-basic/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic/public/favicon-16x16.png -------------------------------------------------------------------------------- /examples/solid/start-basic/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic/public/favicon-32x32.png -------------------------------------------------------------------------------- /packages/router-cli/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/router-devtools-core/media/repo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/packages/router-devtools-core/media/repo-dark.png -------------------------------------------------------------------------------- /packages/router-plugin/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/export-default-component-and-normal-notFound@component.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-utils/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/zod-adapter/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /e2e/react-router/basic-file-based-code-splitting/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/generator-cli-only/tsr.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "routesDirectory": "./src/routes", 3 | "generatedRouteTree": "./src/routeTree.gen.ts" 4 | } 5 | -------------------------------------------------------------------------------- /e2e/react-router/scroll-restoration-sandbox-vite/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | dist-hash 6 | *.local 7 | test-results 8 | -------------------------------------------------------------------------------- /e2e/react-router/scroll-restoration-sandbox-vite/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/react-router/view-transitions/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /e2e/react-start/basic-react-query/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-react-query/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/basic-react-query/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-react-query/public/favicon.png -------------------------------------------------------------------------------- /e2e/react-start/basic-rsc/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-rsc/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/clerk-basic/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/clerk-basic/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/react-start/scroll-restoration/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/scroll-restoration/public/favicon.ico -------------------------------------------------------------------------------- /e2e/react-start/scroll-restoration/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/scroll-restoration/public/favicon.png -------------------------------------------------------------------------------- /e2e/solid-router/basic-file-based-code-splitting/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/scroll-restoration-sandbox-vite/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | dist-hash 6 | *.local 7 | test-results 8 | -------------------------------------------------------------------------------- /e2e/solid-router/scroll-restoration-sandbox-vite/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/solid-router/view-transitions/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /e2e/solid-start/scroll-restoration/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/scroll-restoration/public/favicon.ico -------------------------------------------------------------------------------- /e2e/solid-start/scroll-restoration/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/scroll-restoration/public/favicon.png -------------------------------------------------------------------------------- /e2e/vue-router/scroll-restoration-sandbox-vite/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /e2e/vue-router/view-transitions/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/basic/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /e2e/vue-start/basic/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/basic/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/virtual-routes/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/virtual-routes/public/favicon-32x32.png -------------------------------------------------------------------------------- /examples/react/basic-virtual-inside-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/kitchen-sink-react-query-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/react/start-basic-static/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-static/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-basic-static/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-static/public/favicon.png -------------------------------------------------------------------------------- /examples/solid/authenticated-routes/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/basic-devtools-panel/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/basic-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/basic-solid-query/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/basic-ssr-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/basic-virtual-inside-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-solid-query-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /examples/solid/location-masking/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/navigation-blocking/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/scroll-restoration/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/start-basic-netlify/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-netlify/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-basic-netlify/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-netlify/public/favicon.png -------------------------------------------------------------------------------- /examples/solid/start-basic-static/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-static/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-basic-static/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-static/public/favicon.png -------------------------------------------------------------------------------- /examples/solid/view-transitions/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/with-framer-motion/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /packages/arktype-adapter/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/router-generator/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/1-default/export-default-component-and-normal-notFound@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/export-default-component@loader.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-vite-plugin/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/server-functions-plugin/tests/index.test.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from 'vitest' 2 | 3 | test('test', () => { 4 | expect(1).toBe(1) 5 | }) 6 | -------------------------------------------------------------------------------- /packages/start-client-core/src/client/index.ts: -------------------------------------------------------------------------------- 1 | export { hydrateStart } from './hydrateStart' 2 | export type * from '@tanstack/router-core/ssr/client' 3 | -------------------------------------------------------------------------------- /packages/start-plugin-core/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/valibot-adapter/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /docs/router/assets/reading-writing-file-devjokes-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/docs/router/assets/reading-writing-file-devjokes-1.png -------------------------------------------------------------------------------- /docs/router/assets/reading-writing-file-devjokes-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/docs/router/assets/reading-writing-file-devjokes-2.png -------------------------------------------------------------------------------- /docs/router/framework/solid/guide/outlets.md: -------------------------------------------------------------------------------- 1 | --- 2 | ref: docs/router/framework/react/guide/outlets.md 3 | replace: { 'react-router': 'solid-router' } 4 | --- 5 | -------------------------------------------------------------------------------- /e2e/react-start/basic-auth/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-auth/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/react-start/basic/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /e2e/react-start/basic/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/clerk-basic/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/custom-basepath/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/custom-basepath/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/custom-basepath/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/virtual-routes/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/virtual-routes/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/solid-start/basic-auth/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-auth/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /e2e/solid-start/basic/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/custom-basepath/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/solid-start/custom-basepath/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/custom-basepath/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/virtual-routes/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/virtual-routes/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/vue-router/basepath-file-based/src/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | import { createRootRoute } from '@tanstack/vue-router' 2 | 3 | export const Route = createRootRoute() 4 | -------------------------------------------------------------------------------- /e2e/vue-router/basic-file-based-sfc/src/routes/__root.ts: -------------------------------------------------------------------------------- 1 | import { createRootRoute } from '@tanstack/vue-router' 2 | 3 | export const Route = createRootRoute() 4 | -------------------------------------------------------------------------------- /e2e/vue-router/rspack-basic-virtual-named-export-config-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `pnpm install` 6 | - `pnpm dev` 7 | -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/custom-basepath/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/vue-start/custom-basepath/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/custom-basepath/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/vue-start/virtual-routes/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/virtual-routes/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/vue-start/website/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/website/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /e2e/vue-start/website/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/vue-start/website/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /examples/react/authenticated-routes/src/utils.ts: -------------------------------------------------------------------------------- 1 | export async function sleep(ms: number) { 2 | return new Promise((resolve) => setTimeout(resolve, ms)) 3 | } 4 | -------------------------------------------------------------------------------- /examples/react/i18n-paraglide/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | count.txt 7 | .env 8 | .nitro 9 | .tanstack 10 | -------------------------------------------------------------------------------- /examples/react/router-monorepo-simple/assets/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/router-monorepo-simple/assets/graph.png -------------------------------------------------------------------------------- /examples/react/start-basic-auth/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-auth/public/favicon-16x16.png -------------------------------------------------------------------------------- /examples/react/start-basic-auth/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-auth/public/favicon-32x32.png -------------------------------------------------------------------------------- /examples/react/start-basic-cloudflare/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-cloudflare/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-basic-cloudflare/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-cloudflare/public/favicon.png -------------------------------------------------------------------------------- /examples/react/start-basic-rsc/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-rsc/public/favicon-16x16.png -------------------------------------------------------------------------------- /examples/react/start-basic-rsc/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic-rsc/public/favicon-32x32.png -------------------------------------------------------------------------------- /examples/react/start-basic/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-basic/public/apple-touch-icon.png -------------------------------------------------------------------------------- /examples/react/start-convex-trellaux/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-convex-trellaux/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-convex-trellaux/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-convex-trellaux/public/favicon.png -------------------------------------------------------------------------------- /examples/react/start-convex-trellaux/public/tanstack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-convex-trellaux/public/tanstack.png -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-i18n-paraglide/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-i18n-paraglide/public/logo192.png -------------------------------------------------------------------------------- /examples/react/start-i18n-paraglide/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-i18n-paraglide/public/logo512.png -------------------------------------------------------------------------------- /examples/react/start-trellaux/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-trellaux/public/favicon-16x16.png -------------------------------------------------------------------------------- /examples/react/start-trellaux/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/react/start-trellaux/public/favicon-32x32.png -------------------------------------------------------------------------------- /examples/solid/authenticated-routes/src/utils.ts: -------------------------------------------------------------------------------- 1 | export async function sleep(ms: number) { 2 | return new Promise((resolve) => setTimeout(resolve, ms)) 3 | } 4 | -------------------------------------------------------------------------------- /examples/solid/basic-non-nested-devtools/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/basic-virtual-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/i18n-paraglide/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local 6 | count.txt 7 | .env 8 | .nitro 9 | .tanstack 10 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/kitchen-sink-solid-query/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/quickstart-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/router-monorepo-simple/assets/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/router-monorepo-simple/assets/graph.png -------------------------------------------------------------------------------- /examples/solid/search-validator-adapters/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `npm install` or `yarn` 6 | - `npm start` or `yarn start` 7 | -------------------------------------------------------------------------------- /examples/solid/start-basic-auth/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-auth/public/favicon-16x16.png -------------------------------------------------------------------------------- /examples/solid/start-basic-auth/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-auth/public/favicon-32x32.png -------------------------------------------------------------------------------- /examples/solid/start-basic-cloudflare/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-cloudflare/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-basic-cloudflare/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic-cloudflare/public/favicon.png -------------------------------------------------------------------------------- /examples/solid/start-basic/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-basic/public/apple-touch-icon.png -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-i18n-paraglide/public/favicon.ico -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-i18n-paraglide/public/logo192.png -------------------------------------------------------------------------------- /examples/solid/start-i18n-paraglide/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-i18n-paraglide/public/logo512.png -------------------------------------------------------------------------------- /examples/solid/start-supabase-basic/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/examples/solid/start-supabase-basic/public/favicon.ico -------------------------------------------------------------------------------- /examples/vue/basic-file-based-sfc/src/routes/__root.ts: -------------------------------------------------------------------------------- 1 | import { createRootRoute } from '@tanstack/vue-router' 2 | 3 | export const Route = createRootRoute() 4 | -------------------------------------------------------------------------------- /packages/eslint-plugin-router/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/nitro-v2-vite-plugin/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/router-core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "include": ["src", "vite.config.ts", "tests", "vite-minify-plugin.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/explicit-undefined-component@loader.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/arrow-function@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/destructured-react-memo-imported-component@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/imported-default-component-destructured-loader@errorComponent.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/server-functions-plugin/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /packages/virtual-file-routes/eslint.config.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | import rootConfig from '../../eslint.config.js' 4 | 5 | export default [...rootConfig] 6 | -------------------------------------------------------------------------------- /docs/router/framework/solid/decisions-on-dx.md: -------------------------------------------------------------------------------- 1 | --- 2 | ref: docs/router/framework/react/decisions-on-dx.md 3 | replace: { 'react-router': 'solid-router' } 4 | --- 5 | -------------------------------------------------------------------------------- /docs/router/framework/solid/guide/navigation.md: -------------------------------------------------------------------------------- 1 | --- 2 | ref: docs/router/framework/react/guide/navigation.md 3 | replace: { 'react-router': 'solid-router' } 4 | --- 5 | -------------------------------------------------------------------------------- /docs/router/framework/solid/guide/preloading.md: -------------------------------------------------------------------------------- 1 | --- 2 | ref: docs/router/framework/react/guide/preloading.md 3 | replace: { 'react-router': 'solid-router' } 4 | --- 5 | -------------------------------------------------------------------------------- /e2e/react-router/basepath-file-based/src/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | import { createRootRoute } from '@tanstack/react-router' 2 | 3 | export const Route = createRootRoute() 4 | -------------------------------------------------------------------------------- /e2e/react-router/rspack-basic-virtual-named-export-config-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `pnpm install` 6 | - `pnpm dev` 7 | -------------------------------------------------------------------------------- /e2e/react-start/basic-cloudflare/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-cloudflare/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/basic-cloudflare/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-cloudflare/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/react-start/basic-react-query/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-react-query/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/react-start/basic-react-query/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/basic-react-query/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/react-start/clerk-basic/tests/app.spec.ts: -------------------------------------------------------------------------------- 1 | import { test } from '@playwright/test' 2 | 3 | test('loads', async ({ page }) => { 4 | await page.goto('/') 5 | }) 6 | -------------------------------------------------------------------------------- /e2e/react-start/virtual-routes/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/virtual-routes/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/react-start/website/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/website/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /e2e/react-start/website/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/react-start/website/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /e2e/solid-router/basepath-file-based/src/routes/__root.tsx: -------------------------------------------------------------------------------- 1 | import { createRootRoute } from '@tanstack/solid-router' 2 | 3 | export const Route = createRootRoute() 4 | -------------------------------------------------------------------------------- /e2e/solid-router/rspack-basic-virtual-named-export-config-file-based/README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | 3 | To run this example: 4 | 5 | - `pnpm install` 6 | - `pnpm dev` 7 | -------------------------------------------------------------------------------- /e2e/solid-start/basic-cloudflare/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-cloudflare/public/favicon-16x16.png -------------------------------------------------------------------------------- /e2e/solid-start/basic-cloudflare/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/basic-cloudflare/public/favicon-32x32.png -------------------------------------------------------------------------------- /e2e/solid-start/virtual-routes/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/virtual-routes/public/apple-touch-icon.png -------------------------------------------------------------------------------- /e2e/solid-start/website/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/website/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /e2e/solid-start/website/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TanStack/router/HEAD/e2e/solid-start/website/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /e2e/vue-router/basic-virtual-named-export-config-file-based/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | --------------------------------------------------------------------------------