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

BugBytes
BugBytes
4.4 هزار بار بازدید - 4 هفته پیش - ☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:To
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes

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: 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
4 هفته پیش در تاریخ 1403/03/28 منتشر شده است.
4,474 بـار بازدید شده
... بیشتر