Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 758 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 758 Bytes

vite-react

An example react project including tests with vite(st) + react.

Requirements

Usage

To run this example, run npm install and then one of the following babashka tasks:

Development server

bb dev

This will start squint watch and vite dev server. The compiled files will be generated in public/js.

Tests watch

bb test:watch

This will start squint watch on tests and vitest test watcher. The files will be generated in public/test.

Build

bb build

This will generate a production ready build in public/dist and a bundle status report in the root of the project ./bundle-visualization.html.