@bit-ocean/tailwind

0.0.48 • Public • Published

@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

/@bit-ocean/tailwind/

    Package Sidebar

    Install

    npm i @bit-ocean/tailwind

    Weekly Downloads

    1

    Version

    0.0.48

    License

    MIT

    Unpacked Size

    3.68 kB

    Total Files

    4

    Last publish

    Collaborators

    • zhiblcx
    • brucesong