rafalou38 / svelte-preview

A vscode extension to preview your svelte components live

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use latest Tailwind cdn

danxcraig opened this issue · comments

Is your feature request related to a problem? Please describe.
When adding Tailwind from settings, 2.2.19 is used (https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css)

Tailwind is now on 3.3.1 so this means some classes do not render as expected (for example stroke and fill on SVGs).

Describe the solution you'd like
Option to use the Play CDN (https://tailwindcss.com/docs/installation/play-cdn) instead.

External scripts are not yet supported by the extension, I'm going to add them.
Until then, you can just get the latest CSS CDN.

Done !

I also added daisy UI to the buttons, do you have recommendation of other styles or scripts I can add ?
image

PS: The update should be available later today.

That was quick! Super duper.

Re styles and ui libraries, Flowbite and Skeleton are the other two I'm aware of which are in a lot of use if that helps.