---
title: "Discussion on \"Notes from a course that helped me integrate django and Vue\" | Hashnode"
description: "Discussion on \"Notes from a course that helped me integrate django and Vue\". I did a follow along of what the instructor said with the only change of building an app that I can relate to"
url: "https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Notes from a course that helped me integrate django and Vue](https://hellosambhavi.com/notes-from-a-course-that-helped-me-integrate-django-and-vue?utm_source=hashnode&utm_medium=feed)

I did a follow along of what the instructor said with the only change of building an app that I can relate to

Jul 8, 2023 · 13 min read · hellosambhavi.com  
Updated Jul 20, 2023  
Read the article

-   [#django](https://hashnode.com/tag/django)
-   [#vuejs](https://hashnode.com/tag/vuejs)

## Written by

[Sambhavi Dhanabalan](https://hashnode.com/@sambhavi)

@sambhavi

  
[View profile](https://hashnode.com/@sambhavi)

Building SaaS products, internal tools, and automation with the right tools. Always learning, always building.

I build things. SaaS products, internal tools, automation, whatever the problem needs. My technical background spans FlutterFlow, Supabase, and modern no-code platforms, but I'm just as comfortable thinking through the customer, the market, and the go-to-market as I am writing the code. I also run client projects, which is how I pay the bills and stay sharp. It's a chaotic way to work and I wouldn't trade it. I'm building WorkBuddy, an AI-powered work journal for solopreneurs and freelancers and anyne who juggle too many projects at once. I also built My AI Digest, a personalized newsletter that cuts through AI noise and delivers what's actually worth your attention. I'm a proud generalist. Entrepreneurship taught me what no classroom could.

## Responses 3

Markdown supported · ⌘↵ to post

[Wolfram Kriesing](https://hashnode.com/@wolframkriesing)

[Aug 6, 2024](https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab/comment/66b26a5a2391a6c47cd753ab)

I like your approach, thanks for sharing it. Imho this makes so much more sense, it leverages the power of django, allows for "static" pages or MPA instead of SPA when needed without preventing to go full SPA. I believe this is also the way web dev was intended we just took the SPA hype a bit to far imho.

[Sambhavi Dhanabalan](https://hashnode.com/@sambhavi)

[Aug 10, 2024](https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab/comment/66b26a5a2391a6c47cd753ab#reply-66b6fcbe183001079f459177)

Many a time I too felt that the hype around SPA was a lot. Since I never went deeper that route, I was never loud about that!

In fact, at one point in time, I decided to pivot to using HTMX instead of Vue, as I thought it's relatively easier and I get what I want in terms of reactivity. For a few other reasons, that never saw the horizon.

[Christian S](https://hashnode.com/@ChristianS)

[Mar 7, 2024](https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab/comment/65e98c34b01b0da9053e4126)

Hi Sambhavi, thank you for this post. :) I was looking for this integration and I managed to use it in my first test now. But I have one problem. Since I'm new to Django and Vue (I'm not a programmer at all) it's not easy for me to discover the reason. HMR is not working. I can see VITE updating the static files and I can see in my console logs, that my browser is missing the previous static files, but there's no update till I reload the page manually. There are a lot of problems and workarounds regarding HMR, but I don't know what to do. Are you using HMR in your project and how does it work? Thanks a lot! :)

[Sambhavi Dhanabalan](https://hashnode.com/@sambhavi)

[Mar 11, 2024](https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab/comment/65e98c34b01b0da9053e4126#reply-65ee9875bd234e136221fb8e)

Hey [Christian S](https://hashnode.com/@ChristianS),

Glad to know that my post was a bit helpful. yes, I do use HMR and usually it does not give a lot of problems. Utmost I may have to restart my server when replacement does not happen. Let me try refreshing my memory for other options that I usually do.

Meanwhile I found this post that speaks about HMR issues and how to solve them. Kindly check whether it gives some directions.

[medium.com/geekculture/hot-reload-does-not-work-i…](https://medium.com/geekculture/hot-reload-does-not-work-in-vue-cli-16ca8ead18be)

Another link that may be of some help: [vitejs.dev/guide/troubleshooting](https://vitejs.dev/guide/troubleshooting)

Let me know how it goes.

[AlfonsoAreizaG](https://hashnode.com/@Alfareiza)

[Jul 19, 2023](https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab/comment/64b802f54fbe74ca4f92002c)

I Sambhavi, I'm Alfonso. I've come to this tutorial because I heard a podcast (Pybytes) which took me to your Linkdn and finally to here. I followed all the steps because I am interested in how Vue.js is mounted in Django without using api so as a feedback, I want to mention the following:

1.  Let clear that is necessary to install pinia and axios, so then, they will be in the package.json
2.  Mention that has to be created the store.js file in the frontend folder with the information that is in the repo
3.  Mention that is necessary add the context\_processors path to the settings.
4.  Edit the App.vue file in order to reach CreateForm.vue

I appreciate the way you associated vue.js with django as this approach is not common (AFAIK)

[Sambhavi Dhanabalan](https://hashnode.com/@sambhavi)

[Jul 19, 2023](https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab/comment/64b802f54fbe74ca4f92002c#reply-64b808eb4fbe74ca4f920144)

Thanks [AlfonsoAreizaG](https://hashnode.com/@Alfareiza) for the detailed feedback. When I was replicating the steps today, I too realized that I'd missed to mention a few (same as you've highlighted) steps. Let me see if I can update the post.

[Sambhavi Dhanabalan](https://hashnode.com/@sambhavi)

[Jul 24, 2023](https://hashnode.com/posts/notes-from-a-course-that-helped-me-integrate-django-and-vue/64a9569bf9102c72f1549dab/comment/64b802f54fbe74ca4f92002c#reply-64be890456ce01179f5bf888)

[AlfonsoAreizaG](https://hashnode.com/@Alfareiza), I updated your feedback, except for store.js I suppose. That's not a mandatory step as initially I didn't choose Pinia while I created the project. Thanks again!
