[Django]-How do I deploy my Vue js SPA into my Django server?

0👍

You must configure it manually
Make sure at the top of index.html must have :

{% load static %}

then all links looks like:

<script src="{% static "app.d34dcca9.js" %}"></script>

same as css files or images.

0👍

You can also solve this problem with the following settings vue.config.js:

module.exports = {
  assetsDir: 'static',

Leave a comment