@bit-ocean/tailwind
v0.0.54
Published
Universal Tailwind CSS configuration.
Maintainers
Readme
@bit-ocean/tailwind
Universal Tailwind CSS configuration.
Installation
pnpm add -D tailwindcss postcss autoprefixer @bit-ocean/tailwind
npx tailwindcss init -pConfiguration
Add the following styles to your src/styles/index.scss or global styles file:
@tailwind base;
@tailwind components;
@tailwind utilities;Then add the following tailwind config presets to your tailwind.config.js:
module.exports = {
presets: [require('@bit-ocean/tailwind')],
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}']
}License
MIT License © 2024 Bit Ocean
