Adding TailwindCSS
Installing bud.js dependencies
To get started with TailwindCSS, install the @roots/bud-tailwindcss extension to your project along with @roots/bud-postcss.
- npm
- Yarn
- pnpm
npm install @roots/bud-postcss @roots/bud-tailwindcss --save-dev
yarn add @roots/bud-postcss @roots/bud-tailwindcss --dev
pnpm add @roots/bud-postcss @roots/bud-tailwindcss --save-dev
Configuration
No configuration is required. If you need to customize your TailwindCSS configuration, you can do so by creating a tailwind.config.js
file in your project.
Refer to the TailwindCSS docs for general information on configuring TailwindCSS.
You can refer to the @roots/bud-tailwindcss documentation for more information on bud specific concerns.