livebud / bud

The Full-Stack Web Framework for Go
MIT License
5.58k stars 178 forks source link

How to work with Tailwind css framework? #206

Open dcb9 opened 2 years ago

dcb9 commented 2 years ago

Hi Matt, I've watched your Youtube video and I love it. It simplified so many steps and the most important is that it integrated frontend and backend together. I'd like to know can bud work with tailwind css? Thanks

matthewmueller commented 2 years ago

Thanks for the kind words! This is actually something I'm working on integrating better while working on the website.

For now, I'd recommend using the Play CDN: https://tailwindcss.com/docs/installation/play-cdn and adding the Tailwind script to your <svelte:head> tag in your view.

Would that work for you?

Bishwas-py commented 2 years ago

Thanks for the kind words! This is actually something I'm working on integrating better while working on the website.

For now, I'd recommend using the Play CDN: https://tailwindcss.com/docs/installation/play-cdn and adding the Tailwind script to your <svelte:head> tag in your view.

Would that work for you?

Is this added?

matthewmueller commented 2 years ago

Still working on it. In the meantime, the CDN version continues to work!

ralfiannor commented 2 years ago

I try with CDN version but default CSS blocking our css

matthewmueller commented 2 years ago

Can you share why the default CSS is blocking? Are styles being overridden or something?