Это видео недоступно.
Сожалеем об этом.
Easily add Tailwind CSS to Django 💨
HTML-код
- Опубликовано: 14 авг 2024
- Here's how to add Tailwind CSS to your Django templates. We'll use the Tailwind CSS Standalone CLI to do this 👨🔧
✍️ Written version here: www.photondesigner.com/articles/tailwind-with-django?ref=yt
🚀 More free content here: www.photondesigner.com/articles?ref=yt
Really appreciate this video, I've been looking few video for integrating tailwind with django. You made it simple. Keep going.
You're welcome and thanks - I will do!
I saw this method from flowbite docs on implementation with django, so far it actually the best and easiest to use, although the tailwind command running in watch mode is very essential for the classes to update to css classes in the output.css file
Glad it helped 🙂
Just found your channel - excellent stuff!
Thanks a lot Mark! Great to have you aboard 🙂
is there any possbility that everytime i update the tailwindcss the webpage must reload itself?
Would you clarify your question for me Arun?
If you're asking “do I need to reload the page every time you make a Tailwind change?", the answer is yes. However, there are plugins to do this automatically for you. Django hot reload is one (check out Adam Johnson's post about it).
Good content mate!
Appreciate it Slinky 🙂
How does watcher works when application is being deployed? Meaning, do I need to do something extra with gunicorn and nginx?
No; you just deploy pure css. Tailwind only runs in development, converting your Tailwind CSS to pure CSS on development.
@@tomdekan Thank you!
@@bravenick Welcome 🙂
Thank you Thank you sooo much sir
Most welcome 🙂
can you make a video making the same setup on production server specific ubuntu
Thanks for the suggestion Aafan! Noted.
Great video
Thanks!
Bro is coding with white theme 💀 , but thank you 😁 your video helped me a lot
Haha! I’ve since changed to the dark side. And you’re welcome 🙂
Will there be no problems when deploying?
Should be no problems. Think of Tailwind as a tool that only runs in development. You’ll simply have pure CSS in production.
thanks mate
You're welcome 👍
Why videos always feel Important I don't why
Thanks for the intriguing comment. Would you tell me more?
🎉 Thank you
You’re welcome 😊
nice
Thanks Kevin 🙂
❣
😺🎉