Skip to content

USNightOwl/enghub

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, 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 Gitmoji Structure of commit styles is below

:gitmoji: type(scope?): subject
body?
footer?

Example

:sparkles: feat(changelog): support chinese title

:bug: fix(config): fix a subject bug

:memo: docs: update README.md

:bulb: docs(plugin): update comments

License

This project is licensed under the MIT License.