joaopaulomoraes / reactjs-vite-tailwindcss-boilerplate

This is a boilerplate build with Vite, React 18, TypeScript, Vitest, Testing Library, TailwindCSS 3, Eslint and Prettier.
https://reactjs-vite-tailwindcss-boilerplate.vercel.app
MIT License
530 stars 105 forks source link
boilerplate eslint jest prettier react reactjs tailwindcss testing-library typescript vite vitejs vitest

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.