filmov
tv
Django, HTMX and Alpine.js - Building an Accordion component
![preview_player](https://i.ytimg.com/vi/AWhv-R24hu4/maxresdefault.jpg)
Показать описание
Code is based off a previous tutorial - get the "django-forms-dynamic" branch from this repository:
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:31 Setup
01:02 Adding Alpine to project
03:28 Adding HTMX attributes to button
06:02 Building the accordion
07:28 Adding related modules to cards
08:53 Using prefetch_related method to avoid N+1 problem
10:04 Creating Alpine component
13:10 Showing multiple cards
18:22 Conditionally rendering icons
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
▶️ Full Playlist:
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
#django #alpinejs #python
Django HTMX & Alpine.js mini-project - Sport Result Prediction App
Django, HTMX and Alpine.js - Modals and Forms
DjangoCon Europe 2024 | Django + Alpine.js + htmx Ups & Downs
HTML-ivating your Django web app's experience with HTMX, AlpineJS, and streaming HTML - Chris M...
Modern apps with Django, HTMX, Tailwind CSS and Alpine.js with Andrej Baranovskij - DCUS 2022
htmx in 100 seconds
The Most Important Lesson From HTMX
Django & Alpine.js - Simple and Complex Component State for Building Interactive UIs (a comparis...
HTMX, AlpineJS and Django Messages - Adding Toast / Alert messages in HTMX Responses
HTMX vs AlpineJS - Which should you use for your web app?
How to speed up your Django list view (with HTMX)!
HTMX, the anti JS framework (vs React)
Django and Alpine.js - Introduction to Alpine.js
Django, HTMX and Alpine.js - Building an Accordion component
What is HTMX? Seriously 🤔
Django, HTMX and DaisyUI Components - Building a To-Do List App
HTMX Crash Course | Dynamic Pages Without Writing Any JavaScript
r/webdev BANS HTMX??
How to create async Django forms in 2 minutes (with Alpine.js) ⛰️
Django & HTMX - Dynamic Form Creation and Submission
Dynamic UI in Django with Alpine.js
HTMX looks pretty neat #coding #javascript
DjangoCon 2022 | From React to htmx on a real-world SaaS product: we did it, and it's awesome!
Django and Alpine.js - Client Side Filtering and Django Forms Integration
Комментарии