With Create React App being officially deprecated this week, create-tsrouter-app is a modern alternative to boostrap an initial application with vite and TanStack Router already configured.
npx create-tsrouter-app@latest my-app
npx create-tsrouter-app@latest my-app --template file-router --tailwind
CTA Repo: https://github.com/TanStack/create-ts...
CRA Article: https://react.dev/blog/2025/02/14/sun...
_______________________________
Subscribe to my newsletter: https://leonardomontini.dev/newsletter
Support my work: https://github.com/sponsors/Balastrong ❤️
Hit like and subscribe for more content! :D
You can also follow me on the other platforms:
Discord Community: / discord
Twitter: / balastrong
dev.to: https://dev.to/balastrong
GitHub: https://github.com/Balastrong
Home: https://leonardomontini.dev/
TikTok: / balastrong
Instagram: / devbalastrong
_______________________________
TIMESTAMPS
00:00 create-tsrouter-app
00:18 Basic usage
01:13 Code Routes
01:50 File Routes
03:39 Link Component
04:07 Styling
04:22 Tooling for a complete app
05:49 Server Side Rendering (TanStack Start)
06:36 What's more
#tanstack #react