vite-react-ts-tw-jest Tailwind Templates

Vite React Ts Tw Jest

Template for a Vite app using React, Typescript, TailwindCSS, and Jest with RTL and all the Babel packages necessary.

vite-react-ts-tw-jest

Hi Team JAMIs! This is boilerplate config code I wrote/stole that should serve well to bootstrap our frontend.

Tech stack and dependencies this boilerplate uses

Getting Started

Installation

Install Degit (Made by the creator of Svelte, and Rollup (Vite uses rollup! Wawaweewoo!))

npm i -g degit

Create the project.

npx degit https://github.com/MillerJ20/vite-react-ts-tw-jest app-name

Access the project directory.

cd my-app

Install dependencies.

npm i

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

npm run dev

Lint / Typecheck with TS

npm run lint

Build

npm run build

Format with Prettier

npm run format

Test

npm run test

Top categories

Loading Svelte Themes