Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 715 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 715 Bytes

@bit-ocean/tailwind

npm

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