richard-unterberg / ts-react-vite-minimal-starter

my toolbelt for starting small typescript react projects with vite (client based)

Home Page:https://richard-unterberg.github.io/ts-react-vite-minimal-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript + React + Vite

feat. Tailwind CSS + ESLint + Prettier)

Featuresome template to provides a additional setup to get TS-React working in Vite with HMR and handful of strict ESLint rules, I want to add to work with properly in my side projects.

Features:

  • Tailwind CSS integration
  • Fontsource integration
  • Custom Theme Hook
  • Lucide Icon Library
  • Full Dev Setup
    • ESLint
    • Prettier + Prettier Sort Imports
    • Husky + lint-staged
    • editorconfig

Usage

Install

  • clone
  • run npm install in root

Development

Start local dev server:

npm run dev

Build

build production ready copy to dist folder:

npm run build

Preview Build

to preview production-build locally:

# build before preview
npm run build

# the run preview
npm run preview

About

my toolbelt for starting small typescript react projects with vite (client based)

https://richard-unterberg.github.io/ts-react-vite-minimal-starter/


Languages

Language:TypeScript 86.3%Language:HTML 9.8%Language:CSS 2.7%Language:Shell 1.2%