Tailwind in browser
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.
Documentation
For full documentation, visit tailwindcss.com.
Community
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
Contributing
If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.