Vue + Django: Combining Django Templates and Vue Single File Components without compromise

Django and Vue both have unique front-end strengths. Django’s context-driven template views offer rapid development directly from back-end model content. Vue’s modern reactive components provide powerful tools for building complex UIs within the rich JavaScript ecosystem.

Do we have to choose one or the other, or is there a way to combine both front-end frameworks without compromising their strengths?

Learn how to inject Vue SFCs directly into Django Templates, with no need for REST APIs, such that targeted areas can be enriched with Vue while retaining the flexibility and convenience of Django Templates in the remainder.

This talk was presented at: https://2023.djangocon.us/talks/vue-django-combining-django-templates-and-vue-single-file-components-without-compromise/

LINKS: Follow Mike Hoolehan 👇

Follow DjangCon US 👇 https://fosstodon.org/@djangocon https://twitter.com/djangocon

Follow DEFNA 👇 https://www.defna.org/

Video production by the presenter and DjangoCon US 2023 volunteers.

Date Added: September 19, 2024

Watch Video