next-tailwind-upgrade

1.0.7 • Public • Published

Add Tailwind to a Next.js project

If you use Tailwind with Next.js, you're probably used to following the steps in this guide to install the required dependencies, add a tailwind.config.js with the right files to purge, initialize Tailwind, and add the required @tailwind directives to your globals.css file.

This automates that process for you.

Compatible with Next.js 12 and 13. Supports NPM, Yarn, and PNPM.

Usage

npm install next-tailwind-upgrade node ./node_modules/next-tailwind-upgrade/index.js

This doesn't work with npx currently. I don't know why

Readme

Keywords

none

Package Sidebar

Install

npm i next-tailwind-upgrade

Weekly Downloads

0

Version

1.0.7

License

ISC

Unpacked Size

4.17 kB

Total Files

3

Last publish

Collaborators

  • domeccleston