Skip to content

Could not compile daisyUI plugin with tailwindcss #122

@stalexxx

Description

@stalexxx

Environment

Elixir version (elixir -v): Elixir 1.18.3 (compiled with Erlang/OTP 27)
Phoenix version (mix deps): phoenix 1.8.0-rc.1 (Hex package) (mix)
Operating system: macos
nodejs: 23

Actual behavior

Css is not compiling:

❯ mix tailwind nux
Error: The plugin "../vendor/daisyui" does not accept options
** (Mix) mix tailwind nux exited with 1

then i got deeper and made this

❯ _build/tailwind-macos-arm64 -i  ./assets/css/app.css  -o priv/static/assets/css/app.css
Error: The plugin "../vendor/daisyui" does not accept options

Then i asked LLM (lol) and it said it is not good idea to use @plugin in css
I actually could not find this feature in tailwindcss doc.

then i checked at https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_syntax/At-rule and it never saw this "@plugin"

so, I am very confused, because thing worked once in my env but then broke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions