rui-next

0.49.0 • Public • Published

rui-next (aka RUI.next)

npm docs & demos react vite

Yet another lightweight and Vite-powered Mobile web UI components based on React hooks and Vite 5.

Overview

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.

  • 📦 Out of the box - focus on component development and documentation
  • 🧑‍💻 Developer Friendly - built-in syntax highlighting, embedding React components seamlessly
  • ⚡️ Lightweight and Fast - lighter page weight, instant reloading (lightning-fast HMR) powered by Vite, faster dev server start, hot updates and build

Preview

Try QR code playground to scan to access the examples on mobile/tablet device.

react-hooks docs+demos playground based on vite.

Status

  • More UI components WIP based on React hooks.

Project setup

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 v5.1.4 building for production...
✓ 176 modules transformed.
dist/style.css         39.21 kB │ gzip:  7.68 kB
dist/rui-next.es.js   237.05 kB │ gzip: 70.11 kB
dist/rui-next.umd.js  157.01 kB │ gzip: 57.28 kB
✓ built in 698ms

Build documentation (docs+demos)

$ pnpm run build-docs

Customize configuration

About vite, please check Configuration Reference - vite.

License

license

MIT License

Package Sidebar

Install

npm i rui-next

Weekly Downloads

55

Version

0.49.0

License

MIT

Unpacked Size

445 kB

Total Files

7

Last publish

Collaborators

  • nikoni