0.0.48 • Published 12 months ago
@bit-ocean/tailwind v0.0.48
@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
0.0.48
12 months ago
0.0.47
12 months ago
0.0.46
12 months ago
0.0.45
12 months ago
0.0.44
12 months ago
0.0.43
1 year ago
0.0.42
1 year ago
0.0.41
1 year ago
0.0.40
1 year ago
0.0.39
1 year ago
0.0.38
1 year ago
0.0.37
1 year ago
0.0.36
1 year ago
0.0.35
1 year ago
0.0.34
1 year ago
0.0.33
1 year ago
0.0.32
1 year ago
0.0.31
1 year ago
0.0.30
1 year ago
0.0.29
1 year ago