React with Vite Playground - Mobile web UI components - (react-hooks+vite2).
Yet another lightweight and Vite-powered Mobile web UI components based on React hooks and Vite 6.
This is just one kind of playground to dev react-hooks
based UI components based on rspress
. Thanks to rspress
that could support React docs+demos
well.
Try QR code playground to scan to access the examples on mobile/tablet device.
react-hooks
docs+demos
playground based on vite.
Install dependencies (use package manager: pnpm)
$ pnpm i
Start the dev server for docs-dev
$ pnpm start
Build UI library
$ pnpm run build-lib
Library Mode
output info
vite v6.3.2 building for production...
✓ 179 modules transformed.
dist/rui-next.css 39.00 kB │ gzip: 7.69 kB
dist/rui-next.es.js 230.74 kB │ gzip: 68.71 kB
dist/rui-next.umd.js 151.87 kB │ gzip: 56.25 kB
✓ built in 642ms
Build documentation (docs+demos)
$ pnpm run build-docs
About vite, please check Configuration Reference - vite.