Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-tailwind-loaders

m10rten51MIT0.2.6TypeScript support: included

React.js loaders build with TailwindCSS, usable in any react or next application with tailwindcss.

react, tailwindcss, loaders, react-loaders, react-tailwind-loaders, react-tailwindcss-loaders

readme

react-tailwind-loaders

React.js loaders build with TailwindCSS, usable in any react or next application with tailwindcss.

To make use of this package, make sure you update your tailwind config file to include the following:

Usage:

Install the package:

npm install react-tailwind-loaders

Configure tailwind.config.js:

content: [
  './node_modules/react-tailwind-loaders/**/*.{css,js}', // <- this line is important
  './src/**/*.{ts,tsx}',
],

Documentation

For full documentation, please visit the react-tailwind-loaders repository.