-
|
Hey all, I'm not sure if it is an issue with Daisy or Tailwind CSS IntelliSense, please let me know if I'm at wrong place. Scenario: Rails 8 app and Daisy (latest) First of all, Daisy, TW4 and Rails 8 are working properly, like a charm! My problem it's more like a DX issue, because I'm using the Bundle file option following the site docs (it is mandatory for me) and I cannot use tailwind CSS IntelliSense on VS Code anymore. My appliccation.css @plugin "./daisyui.js" {
themes: "winter" --default;
root: ":root";
}
@plugin "./daisyui-theme.js" {
name: "winter";
default: true;
...
}Tailwind CSS IntelliSense stop to work and got Error: The plugin "./daisyui.js" does not accept optionsIf I change the plugin to Error: The plugin "./daisyui-theme.js" does not accept optionsAnyone running/ran on this kind of issue? Any ideas? TIA! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hey guys, diving deep on that error I found this issue on tailwind css and I will keep it here in case someone needs: tailwindlabs/tailwindcss-intellisense#1415 I just change my ./daisyui.js and daisyui-theme.js to ESM files @plugin "./daisyui.mjs" and "./daisyui-theme.mjs" https://github.com/saadeghi/daisyui/releases/download/v5.0.54/daisyui-theme.mjs https://github.com/saadeghi/daisyui/releases/latest/download/daisyui.mjs That's it. |
Beta Was this translation helpful? Give feedback.
Hey guys, diving deep on that error I found this issue on tailwind css and I will keep it here in case someone needs:
tailwindlabs/tailwindcss-intellisense#1415
I just change my ./daisyui.js and daisyui-theme.js to ESM files @plugin "./daisyui.mjs" and "./daisyui-theme.mjs"
https://github.com/saadeghi/daisyui/releases/download/v5.0.54/daisyui-theme.mjs
https://github.com/saadeghi/daisyui/releases/latest/download/daisyui.mjs
That's it.