Перейти к содержимому

django-components - Build re-usable components in Django with TailwindCSS and DaisyUI

BugBytes

0:00 / 0:00

django-components - Build re-usable components in Django with TailwindCSS and DaisyUI

15 427 просмотров · 2 года назад
BugBytes
58,1 тыс. подписчиков
15 427 просмотров · 2 года назад
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes ⭐Top resource to learn Python - https://datacamp.pxf.io/kOjKkV ⭐ This video looks at the 'django-components' package that allows developers to build re-usable, custom Django template components. We'll learn how to define these components, and use them in our Django apps. 📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀: 00:00 Intro 01:21 django-components intro and setup 06:13 Installing DaisyUI and TailwindCSS 06:41 Creating Card component using Django-components 10:51 Using component in Django templates 13:06 Passing custom data into Django-components 17:58 Adding CSS to components 22:02 Adding JavaScript interactivity to components 26:54 Security when using django-components 𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮: 📖 Blog: https://bugbytes.io/posts/ 👾 Github: https://github.com/bugbytes-io/ 🐦 Twitter:   / bugbytesio   📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻: django-components: https://github.com/EmilStenstrom/djan... DaisyUI installation: https://daisyui.com/docs/cdn/ DaisyUI card: https://daisyui.com/components/card/ #python #django #webdevelopment