changed the packages/@tailwindcss-browser project to use it as a library
-
clone it
-
add it in the package.js dependencies
"@tailwindcss-browser": "file:../../tailwindcss-browser/packages/@tailwindcss-browser" -
install
pnpm install -
import
import { tailwindCompiler } from "@tailwindcss-browser";
A utility-first CSS framework for rapidly building custom user interfaces.
For full documentation, visit tailwindcss.com.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
Discuss Tailwind CSS on GitHub
For chatting with others using the framework:
Join the Tailwind CSS Discord Server
If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.