Skip to content

Files

Latest commit

0c3207c · Nov 6, 2024

History

History

vite-react

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.