Ultimate template for a React+TS single page application.
- React → Frontend Framework
- TypeScript → Language
- Vite → Frontend Build Tool
- Yarn → Package Manager
- Tailwind → Utility CSS
- Install NodeJS, NPM, and Yarn
- Create React/TypeScript template using Vite & Yarn →
yarn create vite <project_name> --template react-ts
- Install needed packages →
yarn install
- Install needed packages →
- Setup Git in project →
git init
- Perform initial commit
- (Recommended) Publish to GitHub as public/private repo
- Setup ESLint and Prettier
- Setup Tailwind → guide
- (Recommended) Install VS Code extension for Tailwind Intellisense
- Download repository:
- Clone method:
git clone https://github.com/BrylleGomez/ultimate-react-app.git
- Or download as
.zip
and unzip the contents
- Clone method:
- (Optional) Initialize git repo with
git init
, if code was downloaded from the zip file (publish/push to GitHub if desired) - Install packages using
yarn
oryarn install
- (Optional) Change "name" field in package.json from "ultimate-react-app" to desired project name