how to integrate Vue to Django #9391
Unanswered
zhan-py
asked this question in
Help/Questions
Replies: 3 comments 2 replies
-
your repository is not public. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Do you want to use Use Vite instead https://github.com/MrBin99/django-vite import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'vue': 'vue/dist/vue.esm-bundler.js', // make sure you use this alias
},
},
// other options
}); |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @zhan-py mam have you figured this issue out ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm trying to figure out how to integrate Vue to Django by following this tutorial, https://www.webucator.com/article/connecting-django-and-vue/, but I can not get this result, which means Django app failed to use html file generated by Vue . I have uploaded the file to: https://github.com/zhan-py/integrate-vue-to-django. I'd appreciate your help!🙂
Beta Was this translation helpful? Give feedback.
All reactions