@bit-ocean/tailwind
v0.0.50
Published
Universal Tailwind CSS configuration.
Downloads
180
Readme
@bit-ocean/tailwind
Universal Tailwind CSS configuration.
Installation
pnpm add -D tailwindcss postcss autoprefixer @bit-ocean/tailwind
npx tailwindcss init -p
Configuration
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