Getting Started
Instalation
This guide will help you get started with ReUI in just a minute.
Requirements
Before you begin, ensure you have installed Node.js and NPM, and have a working Tailwind based project.
Install via NPM
Install ReUI as a dependency from NPM by running the following command in your terminal:
npm i @keenthemes/reui
Add ReUI as as a plugin in the tailwind.config.js
file:
module.exports = {
plugins: [require('@tailwindcss/forms'), require('./node_modules/@keenthemes/reui/plugin.js')],
};
Configure your Tailwind content to apply ReUI-specific classes in the tailwind.config.js
file:
module.exports = {
content: ['node_modules/@keenthemes/reui/dist/*.js'],
};
Include ReUI JavaScript before the end of the body tag in your page:
<script src="./node_modules/@keenthemes/reui/dist/reui.min.js"></script>