Package Exports
- daisyui
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (daisyui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
DaisyUI 🌼
Styled (and unstyled) UI Components for Tailwind CSS users
Install
npm i daisyuiAdd plugin and preset to tailwind.config.js
module.exports = {
plugins: [
require('daisyui/styled'), // 🌼 for styled UI
// require('daisyui'), // for base UI only
],
presets: [
require('daisyui/preset')
],
}
Or use a CDN
🌼 styled version
<link rel="stylesheet" href="https://unpkg.com/daisyui@latest/dist/styled.min.css" />unstyled version
<link rel="stylesheet" href="https://unpkg.com/daisyui@latest/dist/base.min.css" />