Skip to content

keabard/vite-react-ts-template

Repository files navigation

Prerequisites

NodeJS is installed

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 20

How to install

npx degit git@github.com:keabard/vite-react-ts-template.git my-awesome-app
cd my-awesome-app
npm install
npm run dev

Opinionated stack

  • Vite - Modern bundling for JS frontend stacks
  • Vitest - Test runner for Vite
  • React - Most popular JS frontend tech
  • TypeScript - The go-to tool for typed JS
  • React Testing Library - Test your components as a user
  • StyleX - CSS in JS that compiles to CSS, best of both worlds
  • Prettier - Enforces code formatting
  • ESLint - Enforces code style

About

Boilerplate with Vite, TypeScript, React, Vitest, React Testing Library, StyleX, Prettier and ESLint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors