You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @jostrzol. I haven't looked at Tailwind 4 just yet for layerstack/Svelte UX but plan to as part of the Svelte 5 migration. I'm assuming there are some plugin breaking changes that need to be addressed, although I'm curious if you've seen any issues with Tailwind 3. My language servers (be it Svelte, Typescript, or Tailwind) are always flaky and restart them multiple times a day, but there could be a root cause here as well.
If you're able to identify what needs to be changed before I get time, I'll make time to review the PR.
For Svelte UX, LayerChart, and LayerStack, I hope to create release 1.0 releases for each, which will maintain backwards compatibility with Svelte 3-5 and Tailwind 3, and then start next branches for each which will migrate to Svelte 5 and Tailwind 4.
Thanks! I'll try to help you if I find some time, but can't promise anything.
I have tried multiple times restarting the LSP, editor, etc, so I am quite sure the issue is real. It occurs both on my LunarVim setup as well as VS Code with the tailwind extension, so it is unlikely that I misconfigured something (VS Code setup should be quite idiot-proof).
Description
Adding
@layerstack/tailwind/plugin
, as instructed on https://svelte-ux.techniq.dev/, breaks tailwindcss language server.Steps to reproduce
npx sv create demo
(add tailwindcss in the creator)npm install svelte-ux
tailwind.config.cjs
(it is not created automatically in tailwind v4):./src/app.cs
(needed since tailwind v4):@tailwindcss/language-server
) stops working (stops giving autocompletions or documantation, but doesn't crash).Dependencies
@tailwindcss/language-server
version:0.14.4
Other information
@config
directive, we simply use@plugin '@layerstack/tailwind/plugin';
directive.@config
or@plugin
directive, the LSP goes back to working normally.@plugin '@tailwindcss/typography';
.The text was updated successfully, but these errors were encountered: