My basic template with TanStack Router and a few other libraries.
Clone the repository:
git clone https://github.com/toyamarodrigo/tanstack-router-template.git
cd tanstack-router-template
Install dependencies:
pnpm install
Start the development server:
pnpm dev
The application will be available at http://localhost:3000
.
pnpm dev
- Start development server at port 3000pnpm build
- Build for productionpnpm serve
- Preview production build at port 5000pnpm lint
- Run ESLintpnpm lint:fix
- Fix ESLint errorspnpm typecheck
- Check TypeScript typessrc/
āāā routes/ # Route components and definitions
āāā components/ # Reusable UI components
āāā styles/ # Global styles and Tailwind config
āāā lib/ # Utility functions and configurations
āāā app.tsx # Main application component
āāā main.tsx # Application entry point
Contributions are welcome! Please feel free to submit a Pull Request.