58 lines
829 B
Markdown
58 lines
829 B
Markdown
# daisyUI Documentation
|
|
|
|
## Installation
|
|
|
|
How to install daisyUI as a Tailwind CSS plugin?
|
|
|
|
You need [Node.js](https://nodejs.org/en/download/) and [Tailwind CSS](https://tailwindcss.com/docs/installation/) installed.
|
|
|
|
1. Install daisyUI as a Node package:
|
|
|
|
NPM
|
|
|
|
```
|
|
npm i -D daisyui@latest
|
|
```
|
|
|
|
PNPM
|
|
|
|
```
|
|
pnpm add -D daisyui@latest
|
|
```
|
|
|
|
Yarn
|
|
|
|
```
|
|
yarn add -D daisyui@latest
|
|
```
|
|
|
|
Bun
|
|
|
|
```
|
|
bun add -D daisyui@latest
|
|
```
|
|
|
|
Deno
|
|
|
|
```
|
|
deno i -D npm:daisyui@latest
|
|
```
|
|
|
|
2. Add daisyUI to app.css:
|
|
|
|
```
|
|
@import "tailwindcss";
|
|
@plugin "daisyui";
|
|
```
|
|
|
|
## Framework install tutorials
|
|
|
|
See example setup of daisyUI and Tailwind CSS on different frameworks and build tools.
|
|
|
|

|
|
|
|
## NEXUS Official daisyUI Dashboard Template
|
|
|
|
## Available on daisyUI store
|
|
|
|
[More details](/store) |