tailwindtoolbox/Landing-Page

Many of your demos are broken because TailwindCSS stopped UNPKG support

adam993 opened this issue ยท 6 comments

Many of your examples are not working because TailwindCSS stopped UNPKG support.

For example, take a look at your landing page demo from this repo, it's completely broken.

For more info see this issue I posted on Tailwind repo:

tailwindlabs/tailwindcss#6355

Hi @adam993

Thanks for the message - I've changed them all to use the v2 CDN so they are still working for now...

I've not had a chance to look at them for using with v3 + the new JS CDN yet (don't think I'll have time until the new year)

It should work in v3 (maybe with a few teething issues) if you switch the css line from:
- <link rel="stylesheet" href="https://unpkg.com/tailwindcss@2.2.19/dist/tailwind.min.css"/>
+ <script src="https://cdn.tailwindcss.com"></script>

Is there any way I can just get a copy of the minified tailwind 2.2.19? The reason I was using unpkg in the first place is because I do not want a CLI. And the new CDN is pretty slow and doesn't seem to work the same.

Hey, you can just navigate to https://unpkg.com/tailwindcss@2.2.19/dist/tailwind.min.css and then file save as?

Or is it something different you are after?

No, this will work. Unpkg must have been down earlier when I was debugging this, but it seems to be back now.

Good luck with your project ๐Ÿ‘๐Ÿฝ