Skip to content

This React starter template uses Vite and is pre-configured with TypeScript, TailwindCSS, CSS-Modules, class sorting, Jest, @react/testing-library, ESLint, Prettier, Husky, and Commit-lint. It also follows Atomic Design for components.

License

Notifications You must be signed in to change notification settings

kazim-kayhan/react-ts-tailwind

Repository files navigation

R-Ts-T - Vite Starter Template

Mocking up web apps with R-Ts-T(speed)


Live Demo

View on Sandbox

Features

Coding Style

Dev tools

Try it now!

GitHub Template

Create a repo from this template on GitHub.

Clone to local

If you prefer to do it manually with the cleaner git history

npx degit kazim-kayhan/react-ts-tailwind your-project-name
cd your-project-name
yarn # If you don't have yarn installed, run: npm install -g yarn

Checklist

When you use this template, try follow the checklist to update your info properly

  • Rename name and author fields in package.json
  • Change the author name in LICENSE
  • Change the title in index.html
  • Change the favicon in public
  • Modify the manifest in public
  • Clean up the README's

And, enjoy :)

Deploy with Vercel

Why

I recently created several React apps, and the config setup was a bottleneck for me to quickly bring my ideas to life. To make the process easier, I created this starter template which includes some of the best practices I've learned from creating those apps. Feel free to customize it, star it, or even maintain your own fork.

Usage

Development

Just run and visit http://127.0.0.1:5173/

yarn dev

Build

To build the App, run

yarn build

And you will see the generated file in dist that ready to be served.

Husky

If pre-commit hooks are not working be sure that you have installed husky: husky install.

By default this command should be triggered after yarn/npm deps are installed.

About

This React starter template uses Vite and is pre-configured with TypeScript, TailwindCSS, CSS-Modules, class sorting, Jest, @react/testing-library, ESLint, Prettier, Husky, and Commit-lint. It also follows Atomic Design for components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published