Skip to content

Docs regarding Tailwind v4 #606

@0xmiki

Description

@0xmiki

First off, I want to thank you for all your hard work creating this awesome library and also the chart library which I am really looking forward to using.

It looks like tailwind v4.1 doesn't have a config file anymore they depricated it and will only use the app.css file

It would be great if this library had support for tailwind v4.1 out of the gate, since as of right now tailwind v4 is what gets installed for users by default. Svelte-ux's docs is based around the config file which no longer exists and could create confusion for a lot of people. I suggest that until tihs library supports v4, to add a banner in the docs telling users to use it with the compatible tailwind version (v3) which has tailwind.config.cjs file.

I attempted to add the layerStack and the content path by doing:

@plugin "@layerstack/tailwind/plugin";
@source "./node_modules/svelte-ux/**/*.{svelte,js}";

in the css file but that was not succesful in my attempt

tailwindlabs/tailwindcss#15820
https://tailwindcss.com/blog/tailwindcss-v4#css-first-configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions