A lightweight and flexible component library for Vue and Svelte
RuiRui is a reusable Component collection designed for Vite and Vue 3. It utilizes TailwindCSS for styling and features comprehensive documentation built with Storybook.
To install RuiRui, you need to have Node.js and npm installed on your machine. If you don’t have them installed, you can download and install them from the official Node.js website.
Once you have Node.js and npm installed, follow these steps:
npm install
npm run storybook
This will start the Storybook server and open the documentation in your browser at http://localhost:6006.
If you want to build the components for production, use the following command:
npm run build
This will generate the static files in the dist folder.
To build the Storybook documentation for production, run the following command:
npm run build-storybook
This will generate the static files in the docs folder, which can be used to host the documentation on platforms like GitHub Pages.
To run the unit tests, use the following command:
npm run test
To run the linter for code formatting and linting, use the following command:
npm run lint
RuiRui is a powerful Component collection designed for Vite and Vue 3. With its reusable components, TailwindCSS styling, and comprehensive documentation, developers can easily integrate and customize components in their projects. The installation process is straightforward, and the project also provides tools for building for production, running unit tests, and ensuring code quality with linting. RuiRui is licensed under MIT, making it a flexible and accessible choice for developers.