Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
/ mondo Public archive

A simple react template using Vite/Vitest and Playwright

Notifications You must be signed in to change notification settings

johnhunter/mondo

Repository files navigation

Mondo

A simple react template.


Note This template is less relevant as much of the tooling included has its own scaffolding


A lighter alternative to Create React App using Vite for its leverage of ES module support in the browser and convention based approach. Testing uses Testing Library and Vitest.

More complete templates will be created as branches.

Prerequisites

Node

The local environment assumes node@18. You can use any Node version manager that uses the .nvmrc configuration file (we recommend fnm).

Npm scripts

  • npm start starts the dev HMR environment on http://localhost:5173
  • npm test runs the tests (will watch in a dev environment)
  • npm run lint runs eslint and prettier format check
  • npm run preview performs a production build and starts a web server on http://localhost:4173/
  • npm run test-ui runs the tests, reporting in the console as well as opening the test UI interface in http://localhost:51204/__vitest__/