This project was bootstrapped with Vite, and was created to be very similar to Create-React-App, but faster and with batteries included!
There are 3 ways that you can adopt this template.
- Click the
Use this template
button on this repo, or click on this link. - Clone this repo, delete the .git folder and re-init the Git tree.
- Use
degit
:npx degit samhwang/vite-starter-template project-name
- Vite, React and TypeScript - The core of this template.
- Tanstack Router - To handle app client side routing
- React Hook Form - To handle form creation and validation.
- Biome for code formatting.
- Vitest for running unit tests with React Testing Library.
- msw to fake a service worker request to intercept API calls.
pnpm
by default: This template assumes you're usingpnpm
as your installer and script runner. Feel free to sub it withnpm
oryarn
as you wish.
pnpm run dev
pnpm run test
pnpm run format
pnpm run build
This template is assumed to be hosting provider agnostic. Please read the Vite documentation on how to deploy your app.
You can learn more in the Vite documentation.
To learn React, check out the React documentation.
To learn React testing, go to RTL docs