0.1.0 • Published 3 years ago
@andideve/tailwindui-react v0.1.0
tailwindui-react
Install
First, install tailwindcss:
...and run this to install the package:
$ npm i @andideve/tailwindui-react
Usage
// The following line can be included in your `tailwind.config.js` file
{
content: ['./node_modules/@andideve/tailwindui-react/**/*.js'],
// ...
}
Stylesheets
// The following line can be included in your `src/index.js` or `App.js` file
import '@andideve/tailwindui-react/dist/styles/tailwindui.css';
Importing Components
import { Button } from '@andideve/tailwindui-react/dist/components/button';
// or less ideally
import { Button } from '@andideve/tailwindui-react';
0.1.0
3 years ago