Skip to content

johnhunter/mondo

Repository files navigation

Mondo

A simple react template.

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__/