Skip to content

This is a boilerplate build with Vite, React 18, TypeScript, Vitest, Testing Library, TailwindCSS 3, Eslint and Prettier.

License

Notifications You must be signed in to change notification settings

joaopaulomoraes/reactjs-vite-tailwindcss-boilerplate

Repository files navigation

reactjs-vite-tailwindcss-boilerplate

React Tailwindcss Boilerplate build with Vite

This is a boilerplate build with Vite, React 18, TypeScript, Vitest, Testing Library, TailwindCSS 3, Eslint and Prettier.

What is inside?

This project uses many tools like:

Getting Started

Install

Create the project.

pnpm dlx degit joaopaulomoraes/reactjs-vite-tailwindcss-boilerplate my-app

Access the project directory.

cd my-app

Install dependencies.

pnpm install

Serve with hot reload at http://localhost:5173.

pnpm run dev

Lint

pnpm run lint

Typecheck

pnpm run typecheck

Build

pnpm run build

Test

pnpm run test

View and interact with your tests via UI.

pnpm run test:ui

License

This project is licensed under the MIT License.