1.0.0 • Published 8 months ago
@wedevs/tail-react v1.0.0
Tailwind CSS + React Component Library
This repository contains a collection of reusable React components styled with Tailwind CSS. The components are designed to be easily integrated into your React projects, providing a consistent and visually appealing user interface.
Installation
To use this component library in your project, you can install it via npm or yarn.
npm install @wedevs/tail-react
# or
yarn add @wedevs/tail-reactUsage
v4: On your app.css file, add the source file:
+ @source './node_modules/@wedevs/tail-react/dist/index.{js,ts,jsx,tsx}';v3: On your tailwind.config.js file, update the content entry:
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
+ "node_modules/@wedevs/tail-react/dist/index.js"
],
theme: {
extend: {},
},
plugins: [
+ import('@tailwindcss/forms'),
],
}