Package Exports
- react-tailwind-library
- react-tailwind-library/dist/index.es.js
- react-tailwind-library/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-tailwind-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-tailwind-library
Setup Tailwind CSS
Using official Tailwind Docs https://tailwindcss.com/docs/installation
Install
Using npm:
npm install react-tailwind-libraryor using yarn:
yarn add react-tailwind-libraryUsage
We can use it in React and Next JS projects
import { Combobox } from 'react-tailwind-library';
import { Button } from 'react-tailwind-library';Add CSS in your Root Directory
In ReactJs add this in
index.jsfile :
In NextJs add this in
_app.jsfile :
import '../node_modules/react-tailwind-library/dist/style.css';