Skip to content

Latest commit

 

History

History

vite-react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.