Skip to content

🔥 Setup React App with React Boilerplate use Tailwindcss, Eslint and Prettier build with Vite.

License

Notifications You must be signed in to change notification settings

USNightOwl/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, Commitlint, TailwindCSS 3, Eslint and Prettier.

What is inside?

This project uses many tools like:

Getting Started

Install

Use this template or clone this repository.

Install dependencies.

yarn install

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

yarn run dev

Lint

# check lint
yarn run lint

# fix lint
yarn run lint:fix

Typecheck

yarn run typecheck

Build

yarn run build

Test

Commitlint

Structure

The Structure of commit styles is below

type(scope?): subject
body?
footer?

Example

feat(changelog): support chinese title

fix(config): fix a subject bug

docs: update README.md

docs(plugin): update comments

License

This project is licensed under the MIT License.