Tasin5541 / react-ts-vite-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Top Stories

A template for React using vite

  • React (18.x)
  • Vite (5.x)
  • Typescript (4.x)
  • SASS support
  • i18
  • Material UI
  • react-hook-form
  • notistack
  • Production build script

Installation

  1. Clone/download repo
  2. yarn install (or npm install for npm)

Usage

Development

yarn start

  • Build app continuously (HMR enabled)

Production

yarn build yarn prod

  • Build app once (HMR disabled) to /dist/

All commands

Command Description
yarn start Build app continuously (HMR enabled)
yarn prod Build app once (HMR disabled) to /dist/
yarn build Build app to /dist/

Note: replace yarn with npm in package.json if you use npm.

See also

About


Languages

Language:TypeScript 61.8%Language:SCSS 32.3%Language:HTML 5.3%Language:Shell 0.6%