Skip to content

WeAreAcademy/tv-shows-react-js-starter

Repository files navigation

React + Vite

installing dependencies

yarn

Running dev server:

yarn dev

Running lint:

yarn lint

(however, if you install the vscode eslint extension as recommended, eslint will read the eslint config file in this project and give you feedback within vscode).

Running unit tests:

yarn test

or, to have tests re-run on each file save:

yarn test:watch

If you are getting errors from ts (typescript) that you want to turn off, you can edit jsconfig.json and set"checkJs": false

Based on Academy lightweight template for React

  • vite,
  • eslint rule tweaks,
  • vitest for testing,
  • prettier for formatting
  • deleted lots of css and initial App.jsx content
  • added optional components demoing prop-types
  • added demo of a unit test

Original notes from the react template for vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published