Integrate Tailwind into your Django application

  Рет қаралды 26,335

Cloud With Django

Cloud With Django

Күн бұрын

🧑‍🏫 COURSES - Explore my latest Cloud computing & Django courses: www.cloudwithd...
Integrate Tailwind into your Django application
⚡️ Important link(s):
django-tailwin...
pypi.org/proje...
nodejs.org/en
pypi.org/proje...
🐦 Twitter:
/ cloudwdjango
⭐️ Github:
github.com/clo...
📢 Coaching:
www.cloudwithd...
📑 Blog:
www.cloudwithd...
❤️ Support:
www.paypal.com...
💫 Become a Cloud With Django member (30% course discounts):
/ @cloudwithdjango

Пікірлер: 138
@5upern4tural
@5upern4tural 7 ай бұрын
I did 4-5 different tutorials/ways on how to implement Tailwind into Django. Yours is the first one that actually works! Thank you so much!
@CloudWithDjango
@CloudWithDjango 7 ай бұрын
I'm very glad to hear that you found the video to be of value! Of course, no problem! Happy learning! :)
@animeindanger9518
@animeindanger9518 3 ай бұрын
Do we have to do these step everyone to use Django in projects
@meyererik
@meyererik Жыл бұрын
This was the perfect installation guide. Everything was clear, concise, and easy to follow.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you very much! I'm very glad that you enjoyed the video tutorial!
@DougMcLain
@DougMcLain Жыл бұрын
The best tailwind implementation guide for Django.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you!
@coordinaciondeinformaticai7713
@coordinaciondeinformaticai7713 Ай бұрын
Very clean job! Thanks for sharing this amazing guide, I'II try it.
@CloudWithDjango
@CloudWithDjango Ай бұрын
Thank you so much!! I'm glad that you found it useful! All the best to you!
@jacekmiecznikowski
@jacekmiecznikowski 10 ай бұрын
Thanks!
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
Thank you so much for the Super Thanks! I appreciate it!
@joshwilson8704
@joshwilson8704 2 ай бұрын
Thank you for the helpful guide and saving me further headaches! I wish I would have started with your video before trying many other methods.
@CloudWithDjango
@CloudWithDjango 2 ай бұрын
Of course, my pleasure! I'm really glad that the video helped you! Sorry about the other methods being a hassle, but I'm glad that everything is now good for you! All the best!
@marvelousncube
@marvelousncube Жыл бұрын
Thanks a lot brother , your videos are a blessing to me.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad that you are finding the content to be of value to you! All the best to you!
@kaashifameen5336
@kaashifameen5336 2 ай бұрын
Perfect explanation been stuck on this for hours, Thanks
@CloudWithDjango
@CloudWithDjango 2 ай бұрын
Thank you! Of course, my pleasure! Glad that it helped!
@SyedAdeelAli
@SyedAdeelAli 6 ай бұрын
This tutorial is exceptionally clear and informative. I highly recommend it to others.
@CloudWithDjango
@CloudWithDjango 6 ай бұрын
Thank you so much, Syed! :)
@felixkuria1250
@felixkuria1250 Жыл бұрын
Thank you so much for this guide for integration. I was asking how to go about this during production
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! So, there are a few ways to go about this, but to put it simply. You can deploy a production-ready web app with Tailwind CSS and Django, by first integrating Tailwind into your Django project using a tool like django-webpack-loader or django-compressor. Then, optimize and compile your Tailwind styles during the build process, and ensure proper static files configuration to seamlessly serve the CSS when deploying your Django application.
@maximdongur-ool2226
@maximdongur-ool2226 Ай бұрын
I back to this tutorial again and again, because other guys on KZbin offers solutions that do not work!
@CloudWithDjango
@CloudWithDjango Ай бұрын
I'm glad that you found this tutorial of use!
@Alex-fk2ie
@Alex-fk2ie Жыл бұрын
Thanks man! The final step when we run concurrently is the key one, we didn't have it explain accurately in the doc.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! Ah, I see! Indeed sometimes a little bit more explaining needs to be added.
@babatundekalejaiye7046
@babatundekalejaiye7046 3 ай бұрын
Works seamlessly. Many thanks. ❤
@CloudWithDjango
@CloudWithDjango 3 ай бұрын
I'm glad to hear that! Of course, my pleasure!
@lucaslebrun5028
@lucaslebrun5028 Жыл бұрын
Very clear and concise, thank you !
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you very much!
@muskangyanani29
@muskangyanani29 Жыл бұрын
Perfect installation guide!! thanks👍👍
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! I'm glad that you found it useful!
@seithatim7821
@seithatim7821 5 ай бұрын
Thank you so much, you are a star 💫God bless you ❤
@CloudWithDjango
@CloudWithDjango 5 ай бұрын
My pleasure! Thank you so much!!
@cesardiaz-dk1dh
@cesardiaz-dk1dh Жыл бұрын
this was perfect, great video
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you!
@JacobSean-iy3tl
@JacobSean-iy3tl 9 ай бұрын
awesome tutorial , You just got yourself a new subscriber
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
Thank you so much!
@LuisViteri-y1y
@LuisViteri-y1y 5 ай бұрын
El Mejor tutorial e implementacion de tailwind con Django Gracias Genio
@CloudWithDjango
@CloudWithDjango 5 ай бұрын
Thank you so much!
@danrivera9599
@danrivera9599 7 ай бұрын
Hello everyone, if u have 4 routes on your npm, like me: (11:00) C:\Program Files odejs pm C:\Program Files odejs pm.cmd C:\Users\pc\AppData\Roaming pm pm C:\Users\pc\AppData\Roaming pm pm.cmd choose the third one, "C:\Users\pc\AppData\Roaming pm pm" this will solve your issue, have a nice day.
@CloudWithDjango
@CloudWithDjango 7 ай бұрын
Thank you for your input!
@krzysiekkrzysiek9059
@krzysiekkrzysiek9059 Жыл бұрын
No one closes sidebar with folders and files to make screen bigger to watch but You, nice 👌
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Of course, it's important that you all can see clearly!
@skyzane2735
@skyzane2735 11 ай бұрын
What extensions in vscode are you using for Django development? I don’t have the correct syntax highlighting when writing code blocks in my html files. 12:16
@danrivera9599
@danrivera9599 7 ай бұрын
is not a extension u can do it into settings.json, but if u want o need it one u can just search django and the first one by baptiste will be nice 2
@sto700
@sto700 4 ай бұрын
in development it works but would it also work in production? like in development, you have to run 2 servers
@CloudWithDjango
@CloudWithDjango 4 ай бұрын
Hi. For production you may need need to tweak things and refer to the docs on the rest.
@RAKIB-BD-CSE
@RAKIB-BD-CSE 2 ай бұрын
thank you teacher.. 🥰
@CloudWithDjango
@CloudWithDjango 2 ай бұрын
My pleasure!
@alphardx4284
@alphardx4284 7 ай бұрын
Thank you so much ...u r a lifesaver.
@CloudWithDjango
@CloudWithDjango 7 ай бұрын
My pleasure! Glad that it was useful!
@alphardx4284
@alphardx4284 7 ай бұрын
Yeppp💯
@urekmazino1327
@urekmazino1327 8 ай бұрын
any example of deploying it to production using gonicorn and nginx
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, Sorry we don't cover this in the video
@urekmazino1327
@urekmazino1327 8 ай бұрын
@CloudWithDjango hope u can cover production part next time , bcs most tutorials only for development part when u trying deploying to production u found few tutorials
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
I see. Well, thank you for the suggestion, I appreciate it!
@matiasbg2704
@matiasbg2704 8 ай бұрын
consulta como lo hago para el 127.0.0.1/admin ???, ya que acá se pierden todos los estilos!
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, I'd suggest taking a deeper look at the docs for this
@SakinaJanjua
@SakinaJanjua 8 ай бұрын
amazing, it's highly appreciated sir!
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Thank you! I'm glad that it was useful for you!
@diegomiguel929
@diegomiguel929 Ай бұрын
Can django-tailwind be configured with Prettier to sort the classes?
@CloudWithDjango
@CloudWithDjango Ай бұрын
Hi, You'd need to test this out to clarify for sure.
@diegomiguel929
@diegomiguel929 Ай бұрын
@@CloudWithDjango Found an alternative extension in VSCode called "Headwind". It sorts the classes of Tailwind from every html file in the proyect, no matter the file is a django templete
@harenderyadav8657
@harenderyadav8657 8 ай бұрын
css was not being applied automatically and some more problems were irritating me from around one week. BIG THANKS TO YOU SIR, YOU SOLVED ALL MY PROBLEMS.
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Hi, I'm very glad to hear that this video solved your issues! Thank you so much for your kind comment. All the best to you! :)
@31Chris24
@31Chris24 10 ай бұрын
Thank your for this perfect and clear tutorial, appreciate it! Any tips how i can integrate DaisyUI in this setup?
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
Thank you so much! I believe there are many ways to integrate DaisyUI in this setup. What you could try first is the following: Install Tailwind CSS and Django-DaisyUI, Configure settings.py to include 'daisyui' in INSTALLED_APPS, Use DaisyUI components in your HTML templates, Run Django server to see the changes with DaisyUI styles applied. Good luck!
@briangreenberg153
@briangreenberg153 9 ай бұрын
Do you have any videos showing a complete project that employs tailwind rather than bootstrap, for example?
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
Hi, Nothing as of yet, but perhaps if time allows for it in the future, I can maybe look into this. Thank you for the suggestion!
@tayyabullah7460
@tayyabullah7460 7 ай бұрын
I'm a kind of not getting the concept of API's integration in django and I'm hopeful your teaching style can me understand this concept which I'm struggling to understand please do make tutorials for freshers how this API's thing works
@CloudWithDjango
@CloudWithDjango 7 ай бұрын
Thank you for your suggestion!
@lucasweaver2
@lucasweaver2 5 ай бұрын
Another one of Heaven's angel's helping us on earth ❤
@CloudWithDjango
@CloudWithDjango 5 ай бұрын
Thank you so much! You are took kind! ❤
@danrivera9599
@danrivera9599 6 ай бұрын
hello people i have a question, how i do the deploy of the tailwind
@skyzane2735
@skyzane2735 11 ай бұрын
In a scenario when cloning an existing django project repository, what are the steps need to take to easily install all the necessary dependencies listed in django installed_apps? Like example even if it is listed in the django installed_apps, and somebody forgot to put requirements.txt, then we don’t know what packages are needed to install
@r00t_164
@r00t_164 11 ай бұрын
run "pip freeze > requirements.txt" to generate requirements file in your app, then push it to your repo. Whoever clones the repo will have to run "pip install -r requirements.txt" to install the dependencies on their system
@anuraagg5587
@anuraagg5587 3 ай бұрын
Hey, I am getting an error in the command ( python manage.py tailwind init ) its saying tailwind not found
@CloudWithDjango
@CloudWithDjango 3 ай бұрын
Hi. I'd recommend double checking where you installed tailwind, please ensure that you are working in the correct environment
@santiagofigueredo5432
@santiagofigueredo5432 7 ай бұрын
Cómo lo puedo utilizar sin la necesidad de poner "python manage.py tailwind start " en la consola para que se me puedan colocar los colores y estilos?
@24webdevelopment
@24webdevelopment 11 ай бұрын
It works on my computer. But what about the online version? On Pythonanywhere for example, What are the next steps for that?
@CloudWithDjango
@CloudWithDjango 11 ай бұрын
Hi, I'd suggest reading further in the docs for more information as a step in the next direction
@24webdevelopment
@24webdevelopment 11 ай бұрын
no video about it from you in the near future?@@CloudWithDjango
@uribelu
@uribelu Жыл бұрын
excellent... can you do a tutorial for sending emaiil link for user registration ?
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you!! I appreciate the suggestion, if I have time, I can maybe take a look at that.
@howlround
@howlround Жыл бұрын
HI. I've gone through all the steps a couple times. However when I change any of the values the css stops working. If I have bg-gray-500 and I change it to bg-gray-200 It doesn't show any color at all. Any idea what might cause that? I've installed django-tailwind exactly as shown in a brand new project, but I can't change any of the css with out it breaking. Thanks. It's a great tutorial. I just hit a quirk
@howlround
@howlround Жыл бұрын
I'm gonna leave this up despite the embarrassment in case others hit the same snag...I ran python manage.py tailwind start in cmd but outside my virtual env. That was the cause.
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi there, Thank you for your feedback, I appreciate it. Oh no worries, I'm glad that you managed to solve the issue that you faced. All the best to you!
@wanndev-code
@wanndev-code 6 ай бұрын
Will there be no problems when deploying/hosting?
@CloudWithDjango
@CloudWithDjango 6 ай бұрын
Hi, You'd need to refer to the docs for clarity on this.
@dragonoha
@dragonoha Жыл бұрын
Hello, very nice video as all others :) Would You mind elaborating, why You are choosing a 3rd-party django package over official TailwindCSS from their docs? I fear that as many such packages, this one may be dropped in the future. Cheers!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Thank you for your kind feedback. It's because it's a simple and straight forward way to get started.
@toheedulhaq146
@toheedulhaq146 8 ай бұрын
Quite helpful
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Thank you!
@christopheanfry
@christopheanfry 10 ай бұрын
fantastic video thanks!!!!!!!
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
Thank you very much! Of course, my pleasure!
@alvaroavila7304
@alvaroavila7304 9 ай бұрын
How about deploying with this? how we do that?
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
Hi, I'd suggest taking a look at the docs for further information in regards to deployment
@inteliconn995
@inteliconn995 Жыл бұрын
Thanks again!
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure!
@extorrote
@extorrote 11 ай бұрын
Long process, do I have to do all this for every project? 👀
@CloudWithDjango
@CloudWithDjango 11 ай бұрын
Hi, There are many ways to do this. This is just one way.
@kamamedia3535
@kamamedia3535 10 ай бұрын
How do you implement it in css file instead of inline.
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
Hi, I'd suggest doing some external research on that and perhaps browsing through the docs
@ashutoshkumarsingh1700
@ashutoshkumarsingh1700 8 ай бұрын
It is really helpful tutorial
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
Thank you!
@NoorKhan-lr2tt
@NoorKhan-lr2tt 8 ай бұрын
Thank You
@CloudWithDjango
@CloudWithDjango 8 ай бұрын
My pleasure!
@ahmad-fazil
@ahmad-fazil Жыл бұрын
thanks it's working
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure! Glad to hear that you got it working!
@Biisal-ai
@Biisal-ai 9 ай бұрын
Thanks sir
@CloudWithDjango
@CloudWithDjango 9 ай бұрын
My pleasure!
@ziya.5788
@ziya.5788 11 ай бұрын
Clear! Thank you.
@CloudWithDjango
@CloudWithDjango 11 ай бұрын
My pleasure!
@ahmadumar9387
@ahmadumar9387 Жыл бұрын
peak of teaching! hope you will publish a new course in udemy
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you so much, Ahmad!! Don't worry, it's coming soon!
@athreefu9151
@athreefu9151 10 ай бұрын
thank you
@CloudWithDjango
@CloudWithDjango 10 ай бұрын
My pleasure!
@try_gettechnical
@try_gettechnical 6 ай бұрын
thanks
@CloudWithDjango
@CloudWithDjango 6 ай бұрын
My pleasure!
@Good-and-Geeky
@Good-and-Geeky Жыл бұрын
😂 I might go ahead and try that
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hahaha, Tailwind is indeed quite the process with Django. Although, I've tried to simplify the process as much as possible in one way. Good luck!
@Good-and-Geeky
@Good-and-Geeky Жыл бұрын
I tried it and it all works a treat. I'm liking Tailwind so much more than Bootstrap...@@CloudWithDjango
@CloudWithDjango
@CloudWithDjango Жыл бұрын
I'm glad that it works well for you! Tailwind definitely has it's perks over Bootstrap!
@erprakashnayak
@erprakashnayak Жыл бұрын
Can you make tailwind and django thanks
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Thank you for your suggestion!
@VeigarAnao.
@VeigarAnao. Жыл бұрын
anyone with font issues? i cant use custom fonts :(
@frameff9073
@frameff9073 Жыл бұрын
Thank
@CloudWithDjango
@CloudWithDjango Жыл бұрын
My pleasure!
@Quephara
@Quephara 11 ай бұрын
godsend
@CloudWithDjango
@CloudWithDjango 11 ай бұрын
Thank you so much!
@wolfred10
@wolfred10 Жыл бұрын
The @apply directive is not working in my django project static css files. Example: .test { @apply bg-blue-500 underline; } Does anyone knows how to fix this
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Please ensure that you have processed the above logic by PostCSS in order to generate the final CSS with the utility classes.
@wolfred10
@wolfred10 Жыл бұрын
@@CloudWithDjango The only way to use directives is to use them in the following file 'theme/static_src/src/styles.css', thats the only whay i can meke it to work
@CloudWithDjango
@CloudWithDjango Жыл бұрын
Hi, Yes, that is manner in which you can set them up.
Advanced styling for Django admin
8:18
Cloud With Django
Рет қаралды 8 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Adding a Favicon to your Django project
8:14
Cloud With Django
Рет қаралды 2,6 М.
Easily add Tailwind CSS to Django 💨
9:17
Tom Dekan
Рет қаралды 7 М.
django-unfold - TailwindCSS Admin Theme for Django!
25:14
BugBytes
Рет қаралды 10 М.
Modernise the Django admin UI with Unfold
6:44
Cloud With Django
Рет қаралды 9 М.
Learn Django in 20 Minutes!!
21:25
Tech With Tim
Рет қаралды 479 М.
Add charts with Django admin
15:33
Cloud With Django
Рет қаралды 13 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН