DEV Community

Cover image for Deno script for adding Tailwind CSS to Next.js project in 4 seconds
Max
Max

Posted on • Edited on

Deno script for adding Tailwind CSS to Next.js project in 4 seconds

In your project folder run:

deno run --allow-write --allow-read --allow-run https://denos.cc/add-tailwind-to-next.ts
Enter fullscreen mode Exit fullscreen mode

By default it uses pnpm. If you don't have pnpm, it will use npm. You can force it by adding --npm/--yarn after the module name.

Top comments (0)